From 0026d59883f5de0c2904508f0c78c1e2e09e92ae Mon Sep 17 00:00:00 2001 From: lindsay Date: Fri, 12 May 2023 01:03:06 +0200 Subject: [PATCH] Fix stuck pan/rotate/dolly keypresses over annotations and measurements #965 --- .../lib/handlers/KeyboardPanRotateDollyHandler.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/viewer/scene/CameraControl/lib/handlers/KeyboardPanRotateDollyHandler.js b/src/viewer/scene/CameraControl/lib/handlers/KeyboardPanRotateDollyHandler.js index 6f1e7fe3da..78f3e30fad 100644 --- a/src/viewer/scene/CameraControl/lib/handlers/KeyboardPanRotateDollyHandler.js +++ b/src/viewer/scene/CameraControl/lib/handlers/KeyboardPanRotateDollyHandler.js @@ -36,9 +36,6 @@ class KeyboardPanRotateDollyHandler { if (!(configs.active && configs.pointerEnabled) || (!scene.input.keyboardEnabled)) { return; } - if (!states.mouseover) { - return; - } keyDownMap[keyCode] = false; if (keyCode === input.KEY_SHIFT) {