From ad1654e03aca95f8d5cad75ad377c3b67cb73f91 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 15 Jul 2004 22:08:33 +0000 Subject: [PATCH] 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. --- Mac/Tools/IDE/Wcontrols.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Mac/Tools/IDE/Wcontrols.py b/Mac/Tools/IDE/Wcontrols.py index 3d523836370..58fc31bfb96 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