summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-03 10:26:05 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-03 18:36:23 +0200
commitd73190a0bfa1081927c0deef955d6d23b374a1ac (patch)
treeb44298026eb90d9ffeca81320c04a9bebaebfbcd
parentb3aba63616198175d352f5428b08d1f6e80a8eeb (diff)
efl_ui_position_manager_list: skip cache calculation for not finalized
if we are not finalized yet, there is no reason to calculate the caches, as this will be redone later on anyways. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9825
-rw-r--r--src/lib/elementary/efl_ui_position_manager_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_position_manager_list.c b/src/lib/elementary/efl_ui_position_manager_list.c
index a950d2d1a9..c2558ef512 100644
--- a/src/lib/elementary/efl_ui_position_manager_list.c
+++ b/src/lib/elementary/efl_ui_position_manager_list.c
@@ -458,6 +458,7 @@ _efl_ui_position_manager_list_efl_ui_layout_orientable_orientation_set(Eo *obj E
458 458
459 cache_invalidate(obj, pd); 459 cache_invalidate(obj, pd);
460 cache_require(obj,pd); 460 cache_require(obj,pd);
461 if (!efl_finalized_get(obj)) return;
461 recalc_absolut_size(obj, pd); 462 recalc_absolut_size(obj, pd);
462 position_content(obj, pd); 463 position_content(obj, pd);
463} 464}