Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Feb 2, 2024
1 parent 3cb80f6 commit 9bc6c1c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sctk/src/sctk_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,10 @@ impl SctkEvent {
.collect()
}
KeyboardEventVariant::Repeat(KeyEvent {
raw_code,
utf8,
..
keysym, utf8, ..
}) => {
let (key, location) =
keysym_to_vkey_location(raw_code, utf8.as_deref());
keysym_to_vkey_location(keysym.raw(), utf8.as_deref());
Some(iced_runtime::core::Event::Keyboard(
keyboard::Event::KeyPressed {
key: key,
Expand Down

0 comments on commit 9bc6c1c

Please sign in to comment.