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
This commit is contained in:
Marcel Hollerbach 2019-09-03 10:26:05 +02:00
parent b3aba63616
commit d73190a0bf
1 changed files with 1 additions and 0 deletions

View File

@ -458,6 +458,7 @@ _efl_ui_position_manager_list_efl_ui_layout_orientable_orientation_set(Eo *obj E
cache_invalidate(obj, pd);
cache_require(obj,pd);
if (!efl_finalized_get(obj)) return;
recalc_absolut_size(obj, pd);
position_content(obj, pd);
}