summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaehyub <taehyub.kim@samsung.com>2015-06-03 21:30:49 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-06-03 21:30:50 +0900
commitab019c0c78dd97634be426ef176aeae18c8b6eaa (patch)
tree1492e67496ca52a73dbe243a6f5d40aca2545060
parent70acf0642ea00e68264c4c7034b43616456e117f (diff)
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
-rw-r--r--src/lib/elm_interface_scrollable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_interface_scrollable.c b/src/lib/elm_interface_scrollable.c
index b63ae8303..fbfd7cead 100644
--- a/src/lib/elm_interface_scrollable.c
+++ b/src/lib/elm_interface_scrollable.c
@@ -2063,7 +2063,7 @@ _elm_scroll_momentum_animator(void *data)
2063 if (!_elm_config->thumbscroll_bounce_enable || !sid->bounce_vert) 2063 if (!_elm_config->thumbscroll_bounce_enable || !sid->bounce_vert)
2064 { 2064 {
2065 if (y <= miny) no_bounce_y_end = EINA_TRUE; 2065 if (y <= miny) no_bounce_y_end = EINA_TRUE;
2066 if (sid->loop_v && (y - miny) >= maxy) no_bounce_y_end = EINA_TRUE; 2066 if (!sid->loop_v && (y - miny) >= maxy) no_bounce_y_end = EINA_TRUE;
2067 } 2067 }
2068 if ((dt >= 1.0) || 2068 if ((dt >= 1.0) ||
2069 ((sid->down.bounce_x_hold) && (sid->down.bounce_y_hold)) || 2069 ((sid->down.bounce_x_hold) && (sid->down.bounce_y_hold)) ||