forked from enlightenment/efl
efl_ui_spotlight_manager_stack: stack hide content below show content
Summary: the spotlight manger fades in new content, and hides the old content. With this commit the show content is stacked above the hide content, which means, the user can already interact with the new content, before the old one is hidden. Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10997
This commit is contained in:
parent
51a3977ad7
commit
4fb7d88126
|
@ -143,6 +143,7 @@ _efl_ui_spotlight_manager_stack_efl_ui_spotlight_manager_switch_to(Eo *obj, Efl_
|
|||
{
|
||||
efl_event_callback_add(pd->content[0], EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_CHANGED, _hide_object_cb, obj);
|
||||
efl_event_callback_add(pd->content[0], EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_PROGRESS_UPDATED, _running_cb, obj);
|
||||
efl_gfx_stack_above(pd->content[1], pd->content[0]); //Stack the "to content" above the "from content"
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue