一键启动停止项目

This commit is contained in:
tianmo
2026-09-02 10:24:48 +08:00
parent 96ee180564
commit 88cdcdfb02
11 changed files with 233 additions and 8 deletions
+1 -1
View File
@@ -132,7 +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,
parameterPanelOnRight: true,
tickEnabled: false,
axisFontSize: 12,
tickWidth: 1,
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="panel">
<div class="panel-header">
<span>Spine粒子编辑器</span>
<span>Spine粒子编辑器-Yeomai</span>
</div>
<div class="panel-scroll">
+1 -1
View File
@@ -209,7 +209,7 @@ const canvasFocused = ref(false)
function toggleTool(t: '' | 'translate' | 'rotate' | 'scale') { activeTool.value = activeTool.value === t ? '' : t }
if (!(store.settings.undoLimit > 0)) store.settings.undoLimit = 20
if (store.settings.parameterPanelOnRight == null) store.settings.parameterPanelOnRight = false
if (store.settings.parameterPanelOnRight == null) store.settings.parameterPanelOnRight = true
if (!Number.isFinite(store.settings.backgroundX)) store.settings.backgroundX = 0
if (!Number.isFinite(store.settings.backgroundY)) store.settings.backgroundY = 0
if (!Number.isFinite(store.settings.backgroundOpacity)) store.settings.backgroundOpacity = 1