feat: remember last edited scene path in editor via localStorage
This commit is contained in:
@@ -130,7 +130,7 @@ export const useEditorStore = defineStore('editor', () => {
|
||||
dirty.value = true
|
||||
}
|
||||
|
||||
function setSourcePath(p: string) { sourcePath.value = p }
|
||||
function setSourcePath(p: string) { sourcePath.value = p; localStorage.setItem('editor_last_source', p) }
|
||||
|
||||
async function autoSave() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user