diff --git a/src/tools/image-tools/PsEditor.vue b/src/tools/image-tools/PsEditor.vue index 11ff74a..575b1c8 100644 --- a/src/tools/image-tools/PsEditor.vue +++ b/src/tools/image-tools/PsEditor.vue @@ -718,6 +718,9 @@ function applyTpl(t: TextTpl): void { const m = textMetrics(tl); tl.x = Math.round((docW.value - m.w) / 2); tl.y = Math.round(Math.max(8, docH.value * 0.1)); + if (tool.value !== 'text' && tool.value !== 'move') { + tool.value = 'move'; // 插入后直接可拖动/旋转 + } commit(`套用模板「${t.name}」`); composite(); scheduleRender(); @@ -1920,6 +1923,23 @@ onBeforeUnmount(() => {
+
+
+ ✨ 文字模板 + 点击即插入套用 +
+
+ +
+
图层 @@ -1949,23 +1969,6 @@ onBeforeUnmount(() => {
-
-
- 文字模板 - 点击套用 -
-
- -
-
属性