From fc5643b67327f13f25c1cf51fcea74f1ebe8669b Mon Sep 17 00:00:00 2001 From: Subhransu Sekhar Mohanty Date: Sat, 22 Mar 2014 14:22:32 +0900 Subject: [PATCH] naviframe : Fixed the overlap issue during multiple push. Summary: Currently there is a overlap issue in naviframe in case of multiple push. This issue will occur if the naviframe edc implements push,defered for the item transition. The issue occurs becoz of cur,push,deffered is not being called to the current and intermediate items during multiple item push. To fix the above issue pass the data as current item that needs to be out of the aviframe during creating the animator job. @fix Reviewers: Jaehyun, seoz, Hermet Reviewed By: Hermet CC: raster Differential Revision: https://phab.enlightenment.org/D645 --- src/lib/elc_naviframe.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index 34e6ee6..ce09955 100644 --- a/src/lib/elc_naviframe.c +++ b/src/lib/elc_naviframe.c @@ -1462,13 +1462,11 @@ _push_transition_cb(void *data) { Elm_Naviframe_Item *prev_it, *it = data; - ELM_NAVIFRAME_DATA_GET(WIDGET(it), sd); - it->animator = NULL; - if (sd->stack->last->prev) + if (EINA_INLIST_GET(it)->prev) { - prev_it = EINA_INLIST_CONTAINER_GET(sd->stack->last->prev, + prev_it = EINA_INLIST_CONTAINER_GET(EINA_INLIST_GET(it)->prev, Elm_Naviframe_Item); elm_object_signal_emit(VIEW(prev_it), "elm,state,cur,pushed,deferred", "elm"); -- 2.7.4