From 52c93d87af851d715f3cd500619b92014d80c542 Mon Sep 17 00:00:00 2001 From: vzex Date: Sun, 12 Dec 2021 22:59:12 +0800 Subject: [PATCH] Update keyboard_manager.rs rename --- src/window/keyboard_manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window/keyboard_manager.rs b/src/window/keyboard_manager.rs index b5a2676..04b4de5 100644 --- a/src/window/keyboard_manager.rs +++ b/src/window/keyboard_manager.rs @@ -79,8 +79,8 @@ impl KeyboardManager { if !self.should_ignore_input(&settings) { // If we have a keyboard event this frame - for key_or_ime_event in self.queued_input_events.iter() { - match key_or_ime_event { + for input_event in self.queued_input_events.iter() { + match input_event { InputEvent::KeyEvent(key_event) => { // And a key was pressed if key_event.state == ElementState::Pressed {