Handle changes during RedrawRequested in the same frame

This commit is contained in:
Héctor Ramón Jiménez 2025-10-15 19:08:39 +02:00
parent 869891bbf0
commit d2e192042f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 98 additions and 44 deletions

View file

@ -555,7 +555,6 @@ mod parser {
fn mouse_click(input: &str) -> IResult<&str, Mouse> {
let (input, _) = tag("click ")(input)?;
let (input, (button, target)) = mouse_button_at(input)?;
Ok((input, Mouse::Click { button, target }))
@ -563,7 +562,6 @@ mod parser {
fn mouse_press(input: &str) -> IResult<&str, Mouse> {
let (input, _) = tag("press ")(input)?;
let (input, (button, target)) = mouse_button_at(input)?;
Ok((input, Mouse::Press { button, target }))
@ -571,7 +569,6 @@ mod parser {
fn mouse_release(input: &str) -> IResult<&str, Mouse> {
let (input, _) = tag("release ")(input)?;
let (input, (button, target)) = mouse_button_at(input)?;
Ok((input, Mouse::Release { button, target }))