From 196ae0e81092627ef072c0d2031cf80d37317d39 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Sun, 10 Sep 2023 02:20:19 -0400 Subject: [PATCH] Speed up drags during playback --- tests/pilot_recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pilot_recorder.py b/tests/pilot_recorder.py index 11c1ff5..4f956f5 100644 --- a/tests/pilot_recorder.py +++ b/tests/pilot_recorder.py @@ -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))