From 507171f2888eb1e0a0e1405b77b4682a3dee38c2 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 ea831851e..83c703969 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -176,8 +176,10 @@ class ScrollView(StencilView): if self.do_scroll_x: self.scroll_x = min(1, max(0, self.scroll_x)) + self._scroll_x_mouse = self.scroll_x if self.do_scroll_y: self.scroll_y = min(1, max(0, self.scroll_y)) + self._scroll_y_mouse = self.scroll_y # update from size_hint if vp.size_hint_x is not None: