mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue