From 49fdf1012035900bddcfce213e8d4923992f51d4 Mon Sep 17 00:00:00 2001 From: Rene Horn Date: Sat, 8 Dec 2012 11:19:51 -0600 Subject: [PATCH] Woops, forgot to actually define sxd to None. --- kivy/uix/scrollview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index 4adb74873..4ba26a38a 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -362,6 +362,7 @@ class ScrollView(StencilView): if vp.width > self.width: # let's say we want to move over 40 pixels each scroll d = (vp.width - self.width) + sxd = None if d != 0: d = self.scroll_distance / float(d) if touch.button == 'scrollright':