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
This commit is contained in:
Subhransu Sekhar Mohanty 2014-03-22 14:22:32 +09:00 committed by ChunEon Park
parent fcfeba5097
commit 68b66830b4
1 changed files with 2 additions and 4 deletions

View File

@ -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");