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

@@ -206,7 +206,6 @@ fn virtual_event_from_websys_event(event: &web_sys::Event) -> VirtualEvent {
ctrl_key: event.ctrl_key(),
meta_key: event.meta_key(),
shift_key: event.shift_key(),
locale: "".to_string(),
location: event.location(),
repeat: event.repeat(),
which: event.which(),