Open Ronbb opened 1 week ago
app
KeyEvent.DOWN
Delete
参考:
this.app.on(KeyEvent.DOWN, () => { app.editor.list.forEach((element) => { element.remove(); }); app.editor.select([]); }
收到,谢谢反馈,后面优化一下~
app
监听KeyEvent.DOWN
,按下时删除已经选择的元素并取消选择(不取消的话 选择框还在)Delete
时控制台报错:参考: