删除console信息

This commit is contained in:
Yuan 2023-08-04 17:28:43 +08:00
parent 4e785acf07
commit 75f2f2266c

View File

@ -84,7 +84,7 @@ export class JlGraphicAppKeyboardPlugin {
// console.log('Mousedown Event', node.nodeName, node.nodeType, node.nodeValue) // console.log('Mousedown Event', node.nodeName, node.nodeType, node.nodeValue)
}; };
const keydownHandle = (e: KeyboardEvent) => { const keydownHandle = (e: KeyboardEvent) => {
console.debug(e.key, e.code, e.keyCode); // console.debug(e.key, e.code, e.keyCode);
if (target && target == this.app.dom.getElementsByTagName('canvas')[0]) { if (target && target == this.app.dom.getElementsByTagName('canvas')[0]) {
const listenerMap = this.getKeyListener(e); const listenerMap = this.getKeyListener(e);
listenerMap?.forEach((listener) => { listenerMap?.forEach((listener) => {