fix(web): do not write the camera when toggling Camera to View
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -133,7 +133,7 @@ export class ViewportNavigation {
|
|||||||
setCameraLock(locked:boolean):void{
|
setCameraLock(locked:boolean):void{
|
||||||
this.cameraLock=locked;this.setCameraNavigationControls();
|
this.cameraLock=locked;this.setCameraNavigationControls();
|
||||||
this.canvas.dataset.cameraLocked=String(this.cameraLock);
|
this.canvas.dataset.cameraLocked=String(this.cameraLock);
|
||||||
this.publish();
|
this.changing=true;this.publish();this.changing=false;
|
||||||
}
|
}
|
||||||
cameraToView():void{
|
cameraToView():void{
|
||||||
if(this.cameraView||!this.sceneCamera)return;
|
if(this.cameraView||!this.sceneCamera)return;
|
||||||
|
|||||||
Reference in New Issue
Block a user