From 4fb7d88126827e33d17b6467b4d73193edfa31f6 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 2 Jan 2020 09:30:20 -0500 Subject: [PATCH] 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 --- src/lib/elementary/efl_ui_spotlight_manager_stack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/efl_ui_spotlight_manager_stack.c b/src/lib/elementary/efl_ui_spotlight_manager_stack.c index f1fcf8e619..b89a4c6554 100644 --- a/src/lib/elementary/efl_ui_spotlight_manager_stack.c +++ b/src/lib/elementary/efl_ui_spotlight_manager_stack.c @@ -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