修改标题,独立系统设置,可缓存
This commit is contained in:
1 parent
1e49d2b99d
commit
96ee180564
18 files changed
+283
-3013
No files matched your search
@@ -54,6 +54,8 @@ export interface EditorState {
|
||||
|
||||
/** 系统设置(可通过右上角设置面板调整) */
|
||||
export interface SettingsState {
|
||||
/** 参数面板是否显示在页面右侧;关闭时显示在左侧。 */
|
||||
parameterPanelOnRight: boolean
|
||||
/** 是否启用刻度(主开关;启用=显示坐标轴+刻度线+数值,可调整字号/粗细) */
|
||||
tickEnabled: boolean
|
||||
/** 坐标轴刻度文字大小(px),默认 12 */
|
||||
@@ -130,6 +132,7 @@ export const useParticleStore = defineStore('particle', {
|
||||
// 与 Spine 编辑器默认时间基准对齐:1 秒 = 30 帧。
|
||||
timeline: { playing: true, loop: true, frame: 0, totalFrames: 60, fps: 30, recorded: false, animation: 'animation', animations: ['animation'] } as TimelineState,
|
||||
settings: {
|
||||
parameterPanelOnRight: false,
|
||||
tickEnabled: false,
|
||||
axisFontSize: 12,
|
||||
tickWidth: 1,
|
||||
|
||||
Reference in new issue
Block a user