Fix KeyPressed event being always Captured by TextInput

This commit is contained in:
Héctor Ramón Jiménez 2022-03-28 19:20:40 +07:00
parent e66a79fb9c
commit f6700000a2
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -532,9 +532,9 @@ where
} }
_ => {} _ => {}
} }
}
return event::Status::Captured; return event::Status::Captured;
}
} }
Event::Keyboard(keyboard::Event::KeyReleased { key_code, .. }) => { Event::Keyboard(keyboard::Event::KeyReleased { key_code, .. }) => {
let state = state(); let state = state();