mirror of https://github.com/kivy/kivy.git
Merge pull request #7775 from gottadiveintopython/fix_7721
Don't let 'ScrollEffect.reset()' set 'is_manual' to True
This commit is contained in:
commit
1c83cdf2c7
|
@ -19,6 +19,7 @@ class as a base effect for our :class:`~kivy.uix.scrollview.ScrollView` widget.
|
|||
__all__ = ('ScrollEffect', )
|
||||
|
||||
|
||||
from time import time
|
||||
from kivy.effects.kinetic import KineticEffect
|
||||
from kivy.uix.widget import Widget
|
||||
from kivy.properties import NumericProperty, ObjectProperty
|
||||
|
@ -91,7 +92,7 @@ class ScrollEffect(KineticEffect):
|
|||
self.velocity = 0
|
||||
if self.history:
|
||||
val = self.history[-1][1]
|
||||
super(ScrollEffect, self).start(val, None)
|
||||
self.history = [(time(), val)]
|
||||
|
||||
def on_value(self, *args):
|
||||
scroll_min = self.min
|
||||
|
|
Loading…
Reference in New Issue