After more than two years of puzzlement Jurjen Bos found the reason for
the double-scroll problem: when you pass a tracker function to TrackControl you shouldn't call your hit function again afterwards. Fixes #711989.
This commit is contained in:
parent
67115a2b02
commit
ad1654e03a
|
@ -380,8 +380,6 @@ class Scrollbar(ControlWidget):
|
|||
if part:
|
||||
self._hit(part)
|
||||
part = self._control.TrackControl(point, hitter)
|
||||
if part:
|
||||
self._hit(part)
|
||||
|
||||
def _hit(self, part):
|
||||
value = None
|
||||
|
|
Loading…
Reference in New Issue