From d853c7f178c5da15b4511931670808d9a92bafa5 Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Wed, 3 Apr 2013 13:40:48 -0500 Subject: [PATCH] * update _scroll_x_mouse and _scroll_y_mouse to fix scrollview jumping --- kivy/uix/scrollview.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index 925bdb359..e938788f7 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -616,8 +616,10 @@ class ScrollView(StencilView): if self.do_scroll_x and self.effect_x and not ud['in_bar_x']: self.effect_x.start(touch.x) + self._scroll_x_mouse = self.scroll_x if self.do_scroll_y and self.effect_y and not ud['in_bar_y']: self.effect_y.start(touch.y) + self._scroll_y_mouse = self.scroll_y if (ud.get('in_bar_x', False) or ud.get('in_bar_y', False)): return