mirror of https://github.com/kivy/kivy.git
Merge pull request #2362 from kivy/reapply-scrollview-fix
* update _scroll_x_mouse and _scroll_y_mouse to fix scrollview jumping
This commit is contained in:
commit
02f18cb5ef
|
@ -616,8 +616,10 @@ class ScrollView(StencilView):
|
|||
|
||||
if self.do_scroll_x and self.effect_x and not ud['in_bar_x']:
|
||||
self.effect_x.start(touch.x)
|
||||
self._scroll_x_mouse = self.scroll_x
|
||||
if self.do_scroll_y and self.effect_y and not ud['in_bar_y']:
|
||||
self.effect_y.start(touch.y)
|
||||
self._scroll_y_mouse = self.scroll_y
|
||||
|
||||
if (ud.get('in_bar_x', False) or ud.get('in_bar_y', False)):
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue