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

@@ -204,7 +204,6 @@ fn virtual_event_from_websys_event(event: &web_sys::Event) -> VirtualEvent {
fn ctrl_key(&self) -> bool { self.0.ctrl_key() }
fn key(&self) -> String { self.0.key() }
fn key_code(&self) -> usize { self.0.key_code() }
fn locale(&self) -> String { self.0.locale() }
fn location(&self) -> usize { self.0.location() }
fn meta_key(&self) -> bool { self.0.meta_key() }
fn repeat(&self) -> bool { self.0.repeat() }