summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-12-01 22:56:15 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-12-01 22:56:15 +0000
commitadbf79a3a818dc57bf440c6c203761895bd4f004 (patch)
tree5bb07dc0079728e715ace1d1e82a971008b48a84 /src/lib/edje/edje_calc.c
parent53dd5857af2f62f35d7ef74c9fb5e7bfd8cca0cf (diff)
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.
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_calc.c4
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)
1006 Eina_Bool need_reinit_state = EINA_FALSE; 1006 Eina_Bool need_reinit_state = EINA_FALSE;
1007#endif 1007#endif
1008 1008
1009
1010 //Do nothing if the edje has no size,
1011 if ((EINA_UNLIKELY(!ed->has_size)) && (!ed->calc_only) && (ed->w == 0) && (ed->h == 0))
1012 return;
1013 ed->has_size = EINA_TRUE; 1009 ed->has_size = EINA_TRUE;
1014 1010
1015 need_calc = evas_object_smart_need_recalculate_get(ed->obj); 1011 need_calc = evas_object_smart_need_recalculate_get(ed->obj);