diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 22:08:33 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 22:08:33 +0000 |
commit | 5c5bc14115cc323a27d2fa5d35a5b77f0c4c32e9 (patch) | |
tree | 814ca845afd8fc36d68120f35f1026a443091a77 /Mac | |
parent | 5048e437cccca267bee6610e534ed15fd71cc708 (diff) | |
download | cpython-5c5bc14115cc323a27d2fa5d35a5b77f0c4c32e9.tar.gz |
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 3d52383637..58fc31bfb9 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 |