mirror of https://github.com/kivy/kivy.git
Woops, forgot to actually define sxd to None.
This commit is contained in:
parent
0080c0de78
commit
49fdf10120
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue