diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-09-03 10:23:29 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-09-03 15:02:07 +0200 |
commit | 8701c49df65f388bbc2ca93fb12a4ce789275bd2 (patch) | |
tree | 21e95449827ce3e99ce0721797ad2aefa3ed441a | |
parent | b0d3da84ceac2670a632e8fe6fdda25beca7a33e (diff) | |
download | efl-8701c49df65f388bbc2ca93fb12a4ce789275bd2.tar.gz |
efl_ui_position_manager_list: set visibilitly more often
it is possible that the object returned by the batching call is NULL.
That is valid, however, if the batching call for the visibility is
getting the NULL element, but the placement is getting the none NULL
element, then the item on screen will not be visible. This commit
ensures that those items will be visible.
Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
-rw-r--r-- | src/lib/elementary/efl_ui_position_manager_list.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_position_manager_list.c b/src/lib/elementary/efl_ui_position_manager_list.c index 603c60b58a..40524ea681 100644 --- a/src/lib/elementary/efl_ui_position_manager_list.c +++ b/src/lib/elementary/efl_ui_position_manager_list.c @@ -237,7 +237,10 @@ _position_items(Eo *obj EINA_UNUSED, Efl_Ui_Position_Manager_List_Data *pd, Vis_ } if (ent) - efl_gfx_entity_geometry_set(ent, geom); + { + efl_gfx_entity_visible_set(ent, EINA_TRUE); + efl_gfx_entity_geometry_set(ent, geom); + } if (pd->dir == EFL_UI_LAYOUT_ORIENTATION_VERTICAL) geom.y += size.h; else |