leafer-ui
leafer-ui copied to clipboard
选中元素之后按 command 会触发 EditorMoveEvent.MOVE 事件
复现步骤:
- 使用leafer-editor
- 监听编辑器移动事件
app.editor?.on(EditorMoveEvent.MOVE, () => {
console.log('move')
})
- 选中任意元素
- 点击
command键(win键暂时没有试过会不会也有问题) - 发现没有移动的操作,但控制台打印了 move
复现 demo:https://cloudstudio.net/a/23117610773135360?channel=share&sharetype=URL
收到,谢谢反馈~