Merge pull request #3136 from EmmanuelDodoo/master
Fix `keyboard::listen` reporting captured key events
This commit is contained in:
commit
cfd06b4721
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ pub fn listen() -> Subscription<Event> {
|
||||||
subscription::filter_map(Listen, move |event| match event {
|
subscription::filter_map(Listen, move |event| match event {
|
||||||
subscription::Event::Interaction {
|
subscription::Event::Interaction {
|
||||||
event: core::Event::Keyboard(event),
|
event: core::Event::Keyboard(event),
|
||||||
|
status: core::event::Status::Ignored,
|
||||||
..
|
..
|
||||||
} => Some(event),
|
} => Some(event),
|
||||||
_ => None,
|
_ => None,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue