forked from enlightenment/efl
parent
e1226ecfff
commit
6a3522352b
|
@ -3088,11 +3088,18 @@ _ecore_evas_animator_detach(Ecore_Animator *a)
|
||||||
|
|
||||||
ee = a->ee;
|
ee = a->ee;
|
||||||
if (a->suspended)
|
if (a->suspended)
|
||||||
ee->ee_anim.suspended = eina_inlist_remove(ee->ee_anim.suspended, EINA_INLIST_GET(a));
|
{
|
||||||
else if ((!tmp->next) && (!tmp->prev) && (EINA_INLIST_GET(a) != ee->ee_anim.active))
|
ee->ee_anim.suspended =
|
||||||
|
eina_inlist_remove(ee->ee_anim.suspended, EINA_INLIST_GET(a));
|
||||||
|
}
|
||||||
|
else if ((!tmp->next) && (!tmp->prev) &&
|
||||||
|
(EINA_INLIST_GET(a) != ee->ee_anim.active))
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
ee->ee_anim.active = eina_inlist_remove(ee->ee_anim.active, EINA_INLIST_GET(a));
|
{
|
||||||
|
ee->ee_anim.active =
|
||||||
|
eina_inlist_remove(ee->ee_anim.active, EINA_INLIST_GET(a));
|
||||||
|
}
|
||||||
|
|
||||||
a->suspended = EINA_FALSE;
|
a->suspended = EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue