Update keyboard_manager.rs

rename
macos-click-through
vzex 3 years ago committed by Keith Simmons
parent bf1ea9c6e2
commit 52c93d87af

@ -79,8 +79,8 @@ impl KeyboardManager {
if !self.should_ignore_input(&settings) { if !self.should_ignore_input(&settings) {
// If we have a keyboard event this frame // If we have a keyboard event this frame
for key_or_ime_event in self.queued_input_events.iter() { for input_event in self.queued_input_events.iter() {
match key_or_ime_event { match input_event {
InputEvent::KeyEvent(key_event) => { InputEvent::KeyEvent(key_event) => {
// And a key was pressed // And a key was pressed
if key_event.state == ElementState::Pressed { if key_event.state == ElementState::Pressed {

Loading…
Cancel
Save