mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
added slight delay in Scrollbar.click() for more intuitive response -- jvr
This commit is contained in:
parent
68922f06bf
commit
ca37995553
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue