From 11928ba66815977d9dbc18756f4730cc7ab91746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Thu, 28 Aug 2025 10:40:43 +0200 Subject: [PATCH] Merge `Mouse::Press` and `Mouse::Move` interactions --- test/src/instruction.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/src/instruction.rs b/test/src/instruction.rs index c7945e83..14cceb2f 100644 --- a/test/src/instruction.rs +++ b/test/src/instruction.rs @@ -129,6 +129,19 @@ impl Interaction { None, ) } + ( + Mouse::Press { + button, + at: Some(press_at), + }, + Mouse::Move(move_at), + ) if press_at == move_at => ( + Self::Mouse(Mouse::Press { + button, + at: Some(press_at), + }), + None, + ), ( Mouse::Click { button,