Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad1654e

Browse files
committed
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.
1 parent 67115a2 commit ad1654e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Mac/Tools/IDE/Wcontrols.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,6 @@ def hitter(ctl, part, self=self):
380380
if part:
381381
self._hit(part)
382382
part = self._control.TrackControl(point, hitter)
383-
if part:
384-
self._hit(part)
385383

386384
def _hit(self, part):
387385
value = None

0 commit comments

Comments
 (0)