edje - min calc - ix more regressions due to optimizations

again 37b55172b0 broke min size calc.
this time it was for mouse cursors. the entry cursor was 0 sized after
commit 37b55172b0. this disables the
"don't cacle if its 0 sized) which isnt a valid thing to skip - you
caqn min size calc a 0x0 edje ... and it should then return a valid
min size given that design/layout.
This commit is contained in:
Carsten Haitzler 2019-12-01 22:56:15 +00:00
parent 53dd5857af
commit adbf79a3a8
1 changed files with 0 additions and 4 deletions

View File

@ -1006,10 +1006,6 @@ _edje_recalc_do(Edje *ed)
Eina_Bool need_reinit_state = EINA_FALSE;
#endif
//Do nothing if the edje has no size,
if ((EINA_UNLIKELY(!ed->has_size)) && (!ed->calc_only) && (ed->w == 0) && (ed->h == 0))
return;
ed->has_size = EINA_TRUE;
need_calc = evas_object_smart_need_recalculate_get(ed->obj);