郑子墨

This commit is contained in:
MOMO_The_world
2025-11-16 20:12:42 +08:00
parent 05bb98a2c2
commit 8d71693d3e
11 changed files with 51 additions and 9775 deletions

View File

@@ -2666,7 +2666,7 @@ function getTimelineLayersStateFromStorage() {
selected: ""
};
}
const state = localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID);
const state = typeof localStorage.getItem !== "undefined" ? localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID) : null;
return state ? JSON.parse(state) : {
recordingState: false,
mouseEventEnabled: false,