diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 22:08:33 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 22:08:33 (GMT) |
commit | ad1654e03aca95f8d5cad75ad377c3b67cb73f91 (patch) | |
tree | 36d2c792097e4ff79f8fecc4a7d69a2c8d875671 /Mac | |
parent | 67115a2b0206b9c9352dc5bed42d93bf38097073 (diff) | |
download | cpython-ad1654e03aca95f8d5cad75ad377c3b67cb73f91.zip cpython-ad1654e03aca95f8d5cad75ad377c3b67cb73f91.tar.gz cpython-ad1654e03aca95f8d5cad75ad377c3b67cb73f91.tar.bz2 |
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.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Tools/IDE/Wcontrols.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Mac/Tools/IDE/Wcontrols.py b/Mac/Tools/IDE/Wcontrols.py index 3d52383..58fc31bf 100644 --- a/Mac/Tools/IDE/Wcontrols.py +++ b/Mac/Tools/IDE/Wcontrols.py @@ -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 |