From 34e6ce6d5c1ddf79507c24afc359ae6db8e49c0d Mon Sep 17 00:00:00 2001 From: fukunee Date: Sat, 19 Sep 2026 15:39:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=B7=A6=E9=94=AE=E6=97=8B?= =?UTF-8?q?=E8=BD=AC=E7=9A=84=E6=83=AF=E6=80=A7=EF=BC=88=E6=AD=A4=E5=89=8D?= =?UTF-8?q?=E8=AF=AF=E5=85=B3=EF=BC=8C=E9=9D=9E=E9=97=AE=E9=A2=98=E6=A0=B9?= =?UTF-8?q?=E6=BA=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scene/CesiumGlobe.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/scene/CesiumGlobe.js b/src/scene/CesiumGlobe.js index cbb9bc3..4289847 100644 --- a/src/scene/CesiumGlobe.js +++ b/src/scene/CesiumGlobe.js @@ -223,10 +223,6 @@ export class CesiumGlobe { modifier: Cesium.KeyboardEventModifier.CTRL, }, ]; - // 关闭相机惯性:避免左键旋转释放后的余力在右键环视时叠加,产生“两套机制打架” - controller.inertiaSpin = 0; - controller.inertiaTranslate = 0; - controller.inertiaZoom = 0; // 阻止右键弹出浏览器菜单 scene.canvas.addEventListener('contextmenu', (e) => e.preventDefault());