From fb43a57d7509a0a3c0f05737a160d604b83d5286 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Mon, 27 May 2019 19:32:01 +0900 Subject: [PATCH] efl_ui_stack: fix not to keep final state of push/pop animations It is just required to show pushed content and hide popped content after the push/pop animations. Therefore, it is not required to keep the final state of the push/pop animations after finishing the push/pop animations. Change-Id: I4a318a6607a545b51f6bb2a146bcb080acb49461 --- src/lib/elementary/efl_ui_stack.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_stack.c b/src/lib/elementary/efl_ui_stack.c index c330fad..92241ac 100644 --- a/src/lib/elementary/efl_ui_stack.c +++ b/src/lib/elementary/efl_ui_stack.c @@ -675,7 +675,6 @@ _efl_ui_stack_efl_object_constructor(Eo *obj, Efl_Ui_Stack_Data *pd EINA_UNUSED) sh = show_anim = efl_add(EFL_CANVAS_ANIMATION_ALPHA_CLASS, obj); efl_animation_alpha_set(show_anim, 0.0, 1.0); efl_animation_duration_set(show_anim, 0.5); - efl_animation_final_state_keep_set(show_anim, EINA_TRUE); pd->show = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, obj); efl_animation_player_animation_set(pd->show, sh); @@ -686,7 +685,6 @@ _efl_ui_stack_efl_object_constructor(Eo *obj, Efl_Ui_Stack_Data *pd EINA_UNUSED) hi = hide_anim = efl_add(EFL_CANVAS_ANIMATION_ALPHA_CLASS, obj); efl_animation_alpha_set(hide_anim, 1.0, 0.0); efl_animation_duration_set(hide_anim, 0.5); - efl_animation_final_state_keep_set(hide_anim, EINA_TRUE); pd->hide = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, obj); efl_animation_player_animation_set(pd->hide, hi); -- 2.7.4