Commit 30bcde2c authored by Just van Rossum's avatar Just van Rossum

added slight delay in Scrollbar.click() for more intuitive response -- jvr

parent bb6c5f41
...@@ -305,6 +305,8 @@ class Scrollbar(ControlWidget): ...@@ -305,6 +305,8 @@ class Scrollbar(ControlWidget):
self._control.HiliteControl(part) self._control.HiliteControl(part)
self._hit(part) self._hit(part)
oldpart = part oldpart = part
import time
time.sleep(0.3)
while Evt.StillDown(): while Evt.StillDown():
part = self._control.TestControl(point) part = self._control.TestControl(point)
if part == oldpart: if part == oldpart:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment