阶段9开发完成

This commit is contained in:
tianmo
2026-08-30 21:09:18 +08:00
parent 94824f0df1
commit cffe02c1ec
7 changed files with 419 additions and 14 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ export async function applyEditorConfig(store: EditorStore, input: EditorConfigF
repairSelection(store, config.selection)
store.timeline.frame = 0
store.timeline.recorded = false
store.timeline.playing = false
store.timeline.playing = true
for (const system of store.systems) {
if (!store.timeline.animations.includes(system.animation)) system.animation = store.timeline.animations[0]
}
+2 -1
View File
@@ -850,7 +850,8 @@ async function loadSelectedPreset() {
configMessage.value = `已加载预设:${file.replace(/\.json$/i, '')}`
} catch (error) {
configError.value = true
configMessage.value = error instanceof Error ? error.message : String(error)
const message = error instanceof Error ? error.message : String(error)
configMessage.value = `${message},请检查预设文件命名`
} finally {
presetLoading.value = false
selectedPreset.value = ''