fix: only move mouse on depress, not release
This commit is contained in:
@@ -120,6 +120,9 @@ impl InteractionHandler for ScreenInteractionHandler {
|
||||
|
||||
app.hid_provider.send_button(btn, pressed);
|
||||
|
||||
if !pressed {
|
||||
return;
|
||||
}
|
||||
let pos = self.mouse_transform.transform_point2(hit.uv);
|
||||
app.hid_provider.mouse_move(pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user