From: Jaehwan Kim Date: Thu, 21 Feb 2013 09:36:14 +0000 (+0000) Subject: Small bug in scroller when the page is set. X-Git-Tag: upstream/1.20.0~7116^2~14^2~5058 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f04933d80c4e648787949bb2c0a2f7f0e863dca4;p=platform%2Fupstream%2Fefl.git Small bug in scroller when the page is set. SVN revision: 84277 --- diff --git a/legacy/elementary/src/lib/elm_interface_scrollable.c b/legacy/elementary/src/lib/elm_interface_scrollable.c index 1295c6f..61011ea 100644 --- a/legacy/elementary/src/lib/elm_interface_scrollable.c +++ b/legacy/elementary/src/lib/elm_interface_scrollable.c @@ -2029,6 +2029,7 @@ _elm_scroll_scroll_to_x_animator(void *data) eo_do(sid->obj, elm_scrollable_interface_content_pos_set(px, py)); sid->down.sx = px; sid->down.x = sid->down.history[0].x; + sid->down.pdx = 0; _elm_scroll_wanted_coordinates_update(sid, px, py); sid->scrollto.x.animator = NULL; if ((!sid->scrollto.y.animator) && (!sid->down.bounce_y_animator)) @@ -2063,6 +2064,7 @@ _elm_scroll_scroll_to_y_animator(void *data) eo_do(sid->obj, elm_scrollable_interface_content_pos_set(px, py)); sid->down.sy = py; sid->down.y = sid->down.history[0].y; + sid->down.pdy = 0; _elm_scroll_wanted_coordinates_update(sid, px, py); sid->scrollto.y.animator = NULL; if ((!sid->scrollto.x.animator) && (!sid->down.bounce_x_animator))