Fix clicking outside textbox to unfocus

This commit is contained in:
toftpokk 2024-12-22 13:56:49 +07:00 committed by Jeremy Soller
parent 647d29169e
commit c6cd819fff

View file

@ -1100,6 +1100,8 @@ where
}
status = Status::Captured;
} else {
state.is_focused = false;
}
}
Event::Mouse(MouseEvent::ButtonReleased(Button::Left)) => {