summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-02 09:30:20 -0500
committerMike Blumenkrantz <zmike@samsung.com>2020-01-02 09:35:12 -0500
commit4fb7d88126827e33d17b6467b4d73193edfa31f6 (patch)
tree33341032aec906a5e8ecf70fbd503fde509aff75
parent51a3977ad749ac7fee5d69b847cd30d65282aa10 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_spotlight_manager_stack.c1
1 files changed, 1 insertions, 0 deletions
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_
143 { 143 {
144 efl_event_callback_add(pd->content[0], EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_CHANGED, _hide_object_cb, obj); 144 efl_event_callback_add(pd->content[0], EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_CHANGED, _hide_object_cb, obj);
145 efl_event_callback_add(pd->content[0], EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_PROGRESS_UPDATED, _running_cb, obj); 145 efl_event_callback_add(pd->content[0], EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_PROGRESS_UPDATED, _running_cb, obj);
146 efl_gfx_stack_above(pd->content[1], pd->content[0]); //Stack the "to content" above the "from content"
146 } 147 }
147 } 148 }
148 else 149 else