feat: 裁剪组裁剪跟随选择组移动
This commit is contained in:
@@ -259,10 +259,7 @@ function handleKeyDown(event) {
|
||||
const key = event.key.toUpperCase();
|
||||
|
||||
// 当处于输入状态时不触发快捷键
|
||||
if (
|
||||
event.target.tagName === "INPUT" ||
|
||||
event.target.tagName === "TEXTAREA"
|
||||
) {
|
||||
if (event.target.tagName === "INPUT" || event.target.tagName === "TEXTAREA") {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -312,10 +309,7 @@ const handleToolClick = (tool) => {
|
||||
/>
|
||||
|
||||
<!-- 自定义工具栏按钮插槽 -->
|
||||
<slot
|
||||
name="customTools"
|
||||
:tool-button-props="{ activeTool, canUndo, canRedo }"
|
||||
/>
|
||||
<slot name="customTools" :tool-button-props="{ activeTool, canUndo, canRedo }" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user