summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-03 10:23:29 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-03 18:36:20 +0200
commit1511470127d038a3c00c711a3eab076e3e73ff89 (patch)
treefd276d76e3011ecd6d528697b456018d071990f8
parent4617e5dcfb739f5992d1a6f231a9cf4f19b96390 (diff)
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> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9822
-rw-r--r--src/lib/elementary/efl_ui_position_manager_list.c5
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_
237 } 237 }
238 238
239 if (ent) 239 if (ent)
240 efl_gfx_entity_geometry_set(ent, geom); 240 {
241 efl_gfx_entity_visible_set(ent, EINA_TRUE);
242 efl_gfx_entity_geometry_set(ent, geom);
243 }
241 if (pd->dir == EFL_UI_LAYOUT_ORIENTATION_VERTICAL) 244 if (pd->dir == EFL_UI_LAYOUT_ORIENTATION_VERTICAL)
242 geom.y += size.h; 245 geom.y += size.h;
243 else 246 else