From 501ffea2a8aabc0669df0ce53c9e551f2fe67b0d Mon Sep 17 00:00:00 2001 From: prince Date: Wed, 21 Jul 2010 17:32:44 +0530 Subject: [PATCH] [ScrollBar (Handler)] Modified to smooth handler movement. --- src/lib/els_scroller.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/els_scroller.c b/src/lib/els_scroller.c index df6d06b..444d027 100755 --- a/src/lib/els_scroller.c +++ b/src/lib/els_scroller.c @@ -1180,6 +1180,15 @@ _smart_edje_drag_v_stop(void *data, Evas_Object *obj __UNUSED__, const char *emi sd = data; _smart_scrollbar_read(sd); _smart_drag_stop(sd->smart_obj); + if (sd->down.momentum_animator) + { + ecore_animator_del(sd->down.momentum_animator); + sd->down.momentum_animator = NULL; + sd->down.bounce_x_hold = 0; + sd->down.bounce_y_hold = 0; + sd->down.ax = 0; + sd->down.ay = 0; + } } static void -- 2.7.4