Skip to content

Commit

Permalink
fix keyup event listner
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Sep 27, 2023
1 parent 0d4eba4 commit 9c36ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 9c36ea4

Please sign in to comment.