scaling - handle scale settings changes... on the fly...

perhaps we just dont set the tmp flag instead of dont apply font
changes where size is the same but scale will have changed... fix
scale settings changes on the fly...

@fix
This commit is contained in:
Carsten Haitzler 2022-02-01 19:16:51 +00:00
parent 77ae427a14
commit 0d5465f507
1 changed files with 1 additions and 2 deletions

View File

@ -383,9 +383,8 @@ _font_size_set(Evas_Object *obj, int size)
font_size_scale = ELM_SCALE_SIZE(size);
if (sd->font_size_scale == font_size_scale) return;
sd->font_size_scale = font_size_scale;
if ((config) && (size != config->font.size))
if (config)
{
config->temporary = EINA_TRUE;
config->font.size = size;
sd->noreqsize = 1;
termio_config_update(obj);