阶段9开发完成
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user