fix: keep mapped desktop pointer visible and update it each frame

This commit is contained in:
delete committed 2026-10-24 01:43:34 +03:00
1 parent 45a496b802
commit 3dd6aeef46
7 files changed
+258 -9

No files matched your search

@@ -79,7 +79,7 @@ class InputRouter(private val output: InputOutput) {
val cy = if (abs(channel.y) > 0.12f) channel.y else 0f
when (val action = channel.action) {
is InputAction.Pointer -> { x += cx * action.speed; y += cy * action.speed }
is InputAction.Scroll -> scroll -= cy * action.speed
is InputAction.Scroll -> scroll += cy * action.speed
else -> Unit
}
}