fix(web): refine camera framing, delete shortcut and module recording

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-13 09:59:55 +08:00
parent fa8969638f
commit e49ba9e60b
4 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ export class ViewportNavigation {
}
private setCameraNavigationControls():void{
if(!this.cameraView){this.controls.enableRotate=true;this.controls.enablePan=true;this.controls.enableZoom=true;return;}
this.controls.enableRotate=this.cameraLock;this.controls.enablePan=this.cameraLock;this.controls.enableZoom=this.cameraLock;
this.controls.enableRotate=this.cameraLock;this.controls.enablePan=true;this.controls.enableZoom=this.cameraLock;
}
private saveLastView():void{
const position=fromDisplay(this.camera.position),target=fromDisplay(this.controls.target);