From 6893e416f68cd38b22e1afa6669f7d46179ceb22 Mon Sep 17 00:00:00 2001 From: ijlal99 Date: Tue, 12 Nov 2024 17:56:20 +0500 Subject: [PATCH] Fix planView panning in CameraControls --- .../CameraControl/lib/handlers/MousePanRotateDollyHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/scene/CameraControl/lib/handlers/MousePanRotateDollyHandler.js b/src/viewer/scene/CameraControl/lib/handlers/MousePanRotateDollyHandler.js index 053f515c6..cdbaf7426 100644 --- a/src/viewer/scene/CameraControl/lib/handlers/MousePanRotateDollyHandler.js +++ b/src/viewer/scene/CameraControl/lib/handlers/MousePanRotateDollyHandler.js @@ -108,7 +108,7 @@ class MousePanRotateDollyHandler { } function isPanning() { - return cameraControl._isKeyDownForAction(cameraControl.MOUSE_PAN, keyDown); + return configs.planView || cameraControl._isKeyDownForAction(cameraControl.MOUSE_PAN, keyDown); } function isRotating() {