fix keyboard listen

This commit is contained in:
emmanuel dodoo 2025-12-02 16:35:25 -05:00
parent 2973b01bf5
commit 745c6dbd12

View file

@ -11,6 +11,7 @@ pub fn listen() -> Subscription<Event> {
subscription::filter_map(Listen, move |event| match event {
subscription::Event::Interaction {
event: core::Event::Keyboard(event),
status: core::event::Status::Ignored,
..
} => Some(event),
_ => None,