seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=1f873691e9e45988b1ece31576b5b67090f21864
commit 1f873691e9e45988b1ece31576b5b67090f21864 Author: Daniel Juyung Seo <[email protected]> Date: Tue Dec 3 21:40:09 2013 +0900 elm_interface_scrollable.c: reset momentum_animator to null when return cancel from the animator. --- src/lib/elm_interface_scrollable.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_interface_scrollable.c b/src/lib/elm_interface_scrollable.c index 98a4979..2d249a5 100644 --- a/src/lib/elm_interface_scrollable.c +++ b/src/lib/elm_interface_scrollable.c @@ -2023,7 +2023,11 @@ _elm_scroll_momentum_animator(void *data) Evas_Coord x, y, dx, dy, px, py, maxx, maxy, minx, miny; Eina_Bool no_bounce_x_end = EINA_FALSE, no_bounce_y_end = EINA_FALSE; - if (!sid->pan_obj) return ECORE_CALLBACK_CANCEL; + if (!sid->pan_obj) + { + sid->down.momentum_animator = NULL; + return ECORE_CALLBACK_CANCEL; + } t = ecore_loop_time_get(); dt = t - sid->down.anim_start; --
