diff --git a/src/store/view-configs/camera.ts b/src/store/view-configs/camera.ts index 86d3cacf..38c685da 100644 --- a/src/store/view-configs/camera.ts +++ b/src/store/view-configs/camera.ts @@ -29,12 +29,12 @@ export const useViewCameraStore = defineStore('viewCamera', () => { patchDoubleKeyRecord(configs, viewID, dataID, config); }; - + const disableCameraAutoReset = ref(false); const toggleCameraAutoReset = () => { disableCameraAutoReset.value = !disableCameraAutoReset.value; - } + }; const removeView = (viewID: string) => { delete configs[viewID];