Small bug in scroller when the page is set.

SVN revision: 84277
This commit is contained in:
Jaehwan Kim 2013-02-21 09:36:14 +00:00
parent ee1daa1eec
commit f04933d80c
1 changed files with 2 additions and 0 deletions

View File

@ -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))