]> granicus.if.org Git - python/commitdiff
added slight delay in Scrollbar.click() for more intuitive response -- jvr
authorJust van Rossum <just@lettererror.com>
Thu, 25 Feb 1999 23:00:43 +0000 (23:00 +0000)
committerJust van Rossum <just@lettererror.com>
Thu, 25 Feb 1999 23:00:43 +0000 (23:00 +0000)
Mac/Tools/IDE/Wcontrols.py

index f619bb9c91db43132c1bd0f53d1c2689feb54f1c..c5511d4b60155ca3d34373f8ce78b3a771b67c18 100644 (file)
@@ -305,6 +305,8 @@ class Scrollbar(ControlWidget):
                        self._control.HiliteControl(part)
                        self._hit(part)
                        oldpart = part
+                       import time
+                       time.sleep(0.3)
                        while Evt.StillDown():
                                part = self._control.TestControl(point)
                                if part == oldpart: