From 976085a86ee94bb74b3ee32f1c9879e2068a91db Mon Sep 17 00:00:00 2001 From: Jaehwan Kim Date: Thu, 25 Aug 2011 08:46:52 +0000 Subject: [PATCH] From: Jaehwan Kim Subject: [E-devel] [Patch] signal "scroll,anim,stop" in els_scroller fix the bug which the signal "scroll,anim,stop" is not called sometimes. SVN revision: 62789 --- legacy/elementary/src/lib/els_scroller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/src/lib/els_scroller.c b/legacy/elementary/src/lib/els_scroller.c index 222b9778a4..96b829dc54 100644 --- a/legacy/elementary/src/lib/els_scroller.c +++ b/legacy/elementary/src/lib/els_scroller.c @@ -676,7 +676,7 @@ _smart_bounce_x_animator(void *data) { if (sd->down.momentum_animator) sd->down.bounce_x_hold = 1; - else if ((!sd->down.bounce_y_animator) && + if ((!sd->down.bounce_y_animator) && (!sd->scrollto.y.animator)) _smart_anim_stop(sd->smart_obj); sd->down.bounce_x_animator = NULL; @@ -714,7 +714,7 @@ _smart_bounce_y_animator(void *data) { if (sd->down.momentum_animator) sd->down.bounce_y_hold = 1; - else if ((!sd->down.bounce_x_animator) && + if ((!sd->down.bounce_x_animator) && (!sd->scrollto.y.animator)) _smart_anim_stop(sd->smart_obj); sd->down.bounce_y_animator = NULL;