[els_scroller] scroll,anim,stop signal bug fix
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 19 Nov 2010 09:59:04 +0000 (18:59 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 19 Nov 2010 09:59:04 +0000 (18:59 +0900)
src/lib/els_scroller.c

index c9e7361..c576251 100644 (file)
@@ -559,6 +559,8 @@ _smart_bounce_x_animator(void *data)
           {
              if (sd->down.momentum_animator)
                sd->down.bounce_x_hold = 1;
+                        else
+                          _smart_anim_stop(sd->smart_obj);
              sd->down.bounce_x_animator = NULL;
              sd->down.pdx = 0;
              sd->bouncemex = 0;
@@ -593,6 +595,8 @@ _smart_bounce_y_animator(void *data)
           {
              if (sd->down.momentum_animator)
                sd->down.bounce_y_hold = 1;
+                        else
+                          _smart_anim_stop(sd->smart_obj);
              sd->down.bounce_y_animator = NULL;
              sd->down.pdy = 0;
              sd->bouncemey = 0;