Merge pull request #3136 from EmmanuelDodoo/master

Fix `keyboard::listen` reporting captured key events
This commit is contained in:
Héctor 2025-12-02 22:47:07 +01:00 committed by GitHub
commit cfd06b4721
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,