move zoom delta to InputAction.ZOOM for FixedOrbit rotation delegate

This commit is contained in:
Nick Fisher committed 2024-10-23 14:45:20 +08:00
1 parent 2a4b440db2
commit 71c230552d
1 file changed
+3 -2
@@ -48,12 +48,13 @@ class FixedOrbitRotateInputHandlerDelegate implements InputHandlerDelegate {
_queuedZoomDelta += delta.z; _queuedZoomDelta += delta.z;
break; break;
case InputAction.PICK: case InputAction.PICK:
// Assuming PICK is used for zoom in this context
_queuedZoomDelta += delta.z;
break; break;
case InputAction.NONE: case InputAction.NONE:
// Do nothing // Do nothing
break; break;
case InputAction.ZOOM:
_queuedZoomDelta += delta.z;
break;
} }
} }