This commit is contained in:
2025-11-22 20:56:32 +08:00
parent 9dd21b13cf
commit 4f57b4ab6a
22 changed files with 27590 additions and 151 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,