forked from enlightenment/efl
edje - min calc - ix more regressions due to optimizations
again37b55172b0
broke min size calc. this time it was for mouse cursors. the entry cursor was 0 sized after commit37b55172b0
. 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:
parent
53dd5857af
commit
adbf79a3a8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue