summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubhransu Sekhar Mohanty <sub.mohanty@samsung.com>2014-03-22 14:22:32 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-03-22 14:24:24 +0900
commit4557eb5d5012971c23d323b50878866540845f9b (patch)
tree31e04b8bb62427206c527afa296f5ebf663cf9bc
parentff5aab1d38303e1acecc36c2436ea16ba339a7d7 (diff)
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
-rw-r--r--src/lib/elc_naviframe.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index e39e2f929..070200b56 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -1462,13 +1462,11 @@ _push_transition_cb(void *data)
1462{ 1462{
1463 Elm_Naviframe_Item *prev_it, *it = data; 1463 Elm_Naviframe_Item *prev_it, *it = data;
1464 1464
1465 ELM_NAVIFRAME_DATA_GET(WIDGET(it), sd);
1466
1467 it->animator = NULL; 1465 it->animator = NULL;
1468 1466
1469 if (sd->stack->last->prev) 1467 if (EINA_INLIST_GET(it)->prev)
1470 { 1468 {
1471 prev_it = EINA_INLIST_CONTAINER_GET(sd->stack->last->prev, 1469 prev_it = EINA_INLIST_CONTAINER_GET(EINA_INLIST_GET(it)->prev,
1472 Elm_Naviframe_Item); 1470 Elm_Naviframe_Item);
1473 elm_object_signal_emit(VIEW(prev_it), "elm,state,cur,pushed,deferred", 1471 elm_object_signal_emit(VIEW(prev_it), "elm,state,cur,pushed,deferred",
1474 "elm"); 1472 "elm");