hermet pushed a commit to branch elementary-1.14. http://git.enlightenment.org/core/elementary.git/commit/?id=817bbc186950323cc44db0a6c2b0fcd30cf23f00
commit 817bbc186950323cc44db0a6c2b0fcd30cf23f00 Author: taehyub <[email protected]> Date: Wed Jun 3 21:30:49 2015 +0900 interface scrollerable: modify the loop_v condition in _elm_scroll_momentum_animator() function Summary: change the 'sid->loop_v' condition to '!sid->loop_v' to delete momentum animator when the vertical scroller reached the end of the content @fix Reviewers: raster, Hermet, woohyun Subscribers: CHAN Differential Revision: https://phab.enlightenment.org/D2609 --- src/lib/elm_interface_scrollable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_interface_scrollable.c b/src/lib/elm_interface_scrollable.c index acb3021..872c46c 100644 --- a/src/lib/elm_interface_scrollable.c +++ b/src/lib/elm_interface_scrollable.c @@ -2061,7 +2061,7 @@ _elm_scroll_momentum_animator(void *data) if (!_elm_config->thumbscroll_bounce_enable || !sid->bounce_vert) { if (y <= miny) no_bounce_y_end = EINA_TRUE; - if (sid->loop_v && (y - miny) >= maxy) no_bounce_y_end = EINA_TRUE; + if (!sid->loop_v && (y - miny) >= maxy) no_bounce_y_end = EINA_TRUE; } if ((dt >= 1.0) || ((sid->down.bounce_x_hold) && (sid->down.bounce_y_hold)) || --
