mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-21 13:51:45 +03:00
Speed up drags during playback
This commit is contained in:
parent
1a53a18912
commit
196ae0e810
@ -195,7 +195,7 @@ async def drag(selector: str, offsets: list[Offset], shift: bool = False, meta:
|
||||
target_widget, offset, button=1, shift=shift, meta=meta, control=control
|
||||
)
|
||||
pilot.app.post_message(MouseMove(**message_arguments))
|
||||
await pilot.pause(0.1)
|
||||
await pilot.pause()
|
||||
pilot.app.post_message(MouseUp(**message_arguments))
|
||||
await pilot.pause(0.1)
|
||||
# pilot.app.post_message(Click(**message_arguments))
|
||||
|
Loading…
Reference in New Issue
Block a user