summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>1999-02-25 23:00:43 (GMT)
committerJust van Rossum <just@lettererror.com>1999-02-25 23:00:43 (GMT)
commitca379955534e91eb567aca751360fa6a5c475c51 (patch)
tree52c7a71dac626d9a848193287c26282ef26e121c /Mac
parent68922f06bf8fecc15c16e911f5f0a58ec6eabc18 (diff)
downloadcpython-ca379955534e91eb567aca751360fa6a5c475c51.zip
cpython-ca379955534e91eb567aca751360fa6a5c475c51.tar.gz
cpython-ca379955534e91eb567aca751360fa6a5c475c51.tar.bz2
added slight delay in Scrollbar.click() for more intuitive response -- jvr
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Tools/IDE/Wcontrols.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/Wcontrols.py b/Mac/Tools/IDE/Wcontrols.py
index f619bb9..c5511d4 100644
--- a/Mac/Tools/IDE/Wcontrols.py
+++ b/Mac/Tools/IDE/Wcontrols.py
@@ -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: