summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:16:48 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:03 -0400
commit75bdc620a1db1170c4eaa62c37d2235cb428b0f1 (patch)
tree5331cb47ac25be1270b15ab531e1712ae09c50e7
parent0dc166adbd08e57187f2470f7abe479a4116003e (diff)
elm/layout: do not trigger sizing eval on subobj deletion if no resize_obj set
Summary: this has no effect since the resize_obj is what determines sizing @fix Depends on D8953 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8954
-rw-r--r--src/lib/elementary/efl_ui_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index 0260ae5d6a..11bad4e19b 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -575,7 +575,7 @@ _efl_ui_layout_base_efl_ui_widget_widget_sub_object_del(Eo *obj, Efl_Ui_Layout_D
575 } 575 }
576 576
577 // No need to resize object during destruction 577 // No need to resize object during destruction
578 if (!efl_invalidated_get(obj)) 578 if (wd->resize_obj && (!efl_invalidated_get(obj)))
579 elm_layout_sizing_eval(obj); 579 elm_layout_sizing_eval(obj);
580 580
581 return EINA_TRUE; 581 return EINA_TRUE;