server: scale tablet_tool motion events
Also add missing Distance event handler. Closes #179, closes #123
This commit is contained in:
parent
70f15d5085
commit
03cbb2ee3a
4 changed files with 141 additions and 17 deletions
|
|
@ -264,6 +264,10 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get(&self) -> Entity {
|
||||
self.key.get().copied().expect("Object key is not set")
|
||||
}
|
||||
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
key: OnceLock::new(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue