diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-12-01 22:56:15 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-12-01 22:56:15 +0000 |
commit | adbf79a3a818dc57bf440c6c203761895bd4f004 (patch) | |
tree | 5bb07dc0079728e715ace1d1e82a971008b48a84 | |
parent | 53dd5857af2f62f35d7ef74c9fb5e7bfd8cca0cf (diff) | |
download | efl-adbf79a3a818dc57bf440c6c203761895bd4f004.tar.gz |
edje - min calc - ix more regressions due to optimizations
again 37b55172b0d46d71f772af8fba17e1fb1b7c6c2c broke min size calc.
this time it was for mouse cursors. the entry cursor was 0 sized after
commit 37b55172b0d46d71f772af8fba17e1fb1b7c6c2c. 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.
-rw-r--r-- | src/lib/edje/edje_calc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c index aec16f9fd0..336bbc00cc 100644 --- a/src/lib/edje/edje_calc.c +++ b/src/lib/edje/edje_calc.c @@ -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); |