Update examples to avoid deprecated API

This commit is contained in:
Reinis Mazeiks committed 2022-05-12 15:00:43 +03:00
1 parent aaf9d4665f
commit 45980f9a1e
9 files changed
+25 -26

No files matched your search

-1
View File
@@ -62,7 +62,6 @@ impl From<&KeyboardEvent> for KeyboardData {
key: e.key(),
key_code: KeyCode::from_raw_code(e.key_code() as u8),
ctrl_key: e.ctrl_key(),
locale: "not implemented".to_string(),
location: e.location() as usize,
meta_key: e.meta_key(),
repeat: e.repeat(),