feat: 同步上游仓库更新 (2025-06-29 14:53:14)
This commit is contained in:
commit
6cf714d1e5
@ -157,5 +157,4 @@ export const EDITOR_CONFIG: Options = {
|
|||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
/** 文本垂直基线 - 顶部对齐 */
|
/** 文本垂直基线 - 顶部对齐 */
|
||||||
textBaseline: 'top',
|
textBaseline: 'top',
|
||||||
rule: true,
|
|
||||||
};
|
};
|
||||||
|
@ -65,6 +65,7 @@ export class EditorService extends Meta2d {
|
|||||||
await this.#loadSceneAreas(areas);
|
await this.#loadSceneAreas(areas);
|
||||||
this.store.historyIndex = undefined;
|
this.store.historyIndex = undefined;
|
||||||
this.store.histories = [];
|
this.store.histories = [];
|
||||||
|
this.centerView();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 保存当前场景为JSON字符串
|
* 保存当前场景为JSON字符串
|
||||||
|
Loading…
x
Reference in New Issue
Block a user