Try to find text targets in tester::recorder

This commit is contained in:
Héctor Ramón Jiménez 2025-08-23 06:37:02 +02:00
parent 81d1eda7fe
commit 1923d1db1e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 245 additions and 59 deletions

View file

@ -129,6 +129,19 @@ impl Interaction {
None,
)
}
(
Mouse::Click {
button,
at: Some(click_at),
},
Mouse::Move(move_at),
) if click_at == move_at => (
Self::Mouse(Mouse::Click {
button,
at: Some(click_at),
}),
None,
),
(current, next) => {
(Self::Mouse(current), Some(Self::Mouse(next)))
}