From cb3f1f5aa483c125e5109c5c604727fbac21c84d Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 2 Sep 2012 12:53:30 +0200 Subject: [PATCH] scrollview: fix initial mousewheel scrolling. closes #645 --- kivy/uix/scrollview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index 1e93e2ef0..8293bde23 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -106,7 +106,7 @@ class ScrollView(StencilView): def __init__(self, **kwargs): self._touch = False self._tdx = self._tdy = self._ts = self._tsn = 0 - self._scroll_y_mouse = 0 + self._scroll_y_mouse = 1 super(ScrollView, self).__init__(**kwargs) self.bind(scroll_x=self.update_from_scroll, scroll_y=self.update_from_scroll,