forked from enlightenment/efl
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
This commit is contained in:
parent
4617e5dcfb
commit
1511470127
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue