diff --git a/src/event.rs b/src/event.rs index a39b4326..c60b0a3e 100644 --- a/src/event.rs +++ b/src/event.rs @@ -246,7 +246,7 @@ impl Event { Event::PointerMove(_) => Some(EventListener::PointerMove), Event::PointerWheel(_) => Some(EventListener::PointerWheel), Event::KeyDown(_) => Some(EventListener::KeyDown), - Event::KeyUp(_) => Some(EventListener::KeyDown), + Event::KeyUp(_) => Some(EventListener::KeyUp), Event::ImeEnabled => Some(EventListener::ImeEnabled), Event::ImeDisabled => Some(EventListener::ImeDisabled), Event::ImePreedit { .. } => Some(EventListener::ImePreedit),