summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2019-05-27 19:32:01 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-05-27 19:50:33 +0900
commit48c53841a43e35b19e3808712f46a1ca89593363 (patch)
tree34ac73bbb866ced1e028c73b4982078556758a1f
parent7a882ab02ca668c3bfe383173e0b0ff678618062 (diff)
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.
-rw-r--r--src/lib/elementary/efl_ui_stack.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_stack.c b/src/lib/elementary/efl_ui_stack.c
index c330fada92..92241acf87 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)
675 sh = show_anim = efl_add(EFL_CANVAS_ANIMATION_ALPHA_CLASS, obj); 675 sh = show_anim = efl_add(EFL_CANVAS_ANIMATION_ALPHA_CLASS, obj);
676 efl_animation_alpha_set(show_anim, 0.0, 1.0); 676 efl_animation_alpha_set(show_anim, 0.0, 1.0);
677 efl_animation_duration_set(show_anim, 0.5); 677 efl_animation_duration_set(show_anim, 0.5);
678 efl_animation_final_state_keep_set(show_anim, EINA_TRUE);
679 678
680 pd->show = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, obj); 679 pd->show = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, obj);
681 efl_animation_player_animation_set(pd->show, sh); 680 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)
686 hi = hide_anim = efl_add(EFL_CANVAS_ANIMATION_ALPHA_CLASS, obj); 685 hi = hide_anim = efl_add(EFL_CANVAS_ANIMATION_ALPHA_CLASS, obj);
687 efl_animation_alpha_set(hide_anim, 1.0, 0.0); 686 efl_animation_alpha_set(hide_anim, 1.0, 0.0);
688 efl_animation_duration_set(hide_anim, 0.5); 687 efl_animation_duration_set(hide_anim, 0.5);
689 efl_animation_final_state_keep_set(hide_anim, EINA_TRUE);
690 688
691 pd->hide = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, obj); 689 pd->hide = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, obj);
692 efl_animation_player_animation_set(pd->hide, hi); 690 efl_animation_player_animation_set(pd->hide, hi);