move zoom delta to InputAction.ZOOM for FixedOrbit rotation delegate
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user