From 59081237feba45dfc403cf6b85ea5e3f08098a8d Mon Sep 17 00:00:00 2001 From: Matthew Einhorn Date: Sat, 12 Jul 2014 18:45:06 -0400 Subject: [PATCH] When mouse scrolling, don't pass it on to children. Fixes 2031. --- kivy/uix/scrollview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index 37994a533..925bdb359 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -598,7 +598,7 @@ class ScrollView(StencilView): e.velocity = 0 touch.ud[self._get_uid('svavoid')] = True e.trigger_velocity_update() - return True + return True # no mouse scrolling, so the user is going to drag the scrollview with # this touch. @@ -767,7 +767,6 @@ class ScrollView(StencilView): sy = 1 return sx, sy - def update_from_scroll(self, *largs): '''Force the reposition of the content, according to current value of :attr:`scroll_x` and :attr:`scroll_y`.