From b03decc7cd7b535fef469cfef5596c5795d801ed Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Fri, 1 Oct 2010 16:08:18 +0900 Subject: [PATCH] [elm_transit.c] fixed flip. --- src/lib/elm_transit.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c index 3f2fde4..b6c35bb 100644 --- a/src/lib/elm_transit.c +++ b/src/lib/elm_transit.c @@ -877,14 +877,18 @@ _elm_fx_flip_op(void *data, Elm_Animator *animator, double frame) if (degree < 90 && degree > -90) { obj = flip->front; - evas_object_hide(flip->back); - evas_object_show(flip->front); + if(flip->back != flip->front) { + evas_object_hide(flip->back); + evas_object_show(flip->front); + } } else { obj = flip->back; - evas_object_hide(flip->front); - evas_object_show(flip->back); + if(flip->back != flip->front) { + evas_object_hide(flip->front); + evas_object_show(flip->back); + } } evas_map_smooth_set(map, EINA_TRUE); -- 2.7.4