bugfix - 全局键盘监听清理

This commit is contained in:
Yuan 2023-11-14 15:11:06 +08:00
parent 0338431267
commit 1d8ed69cc1

View File

@ -112,6 +112,7 @@ export class JlGraphicAppKeyboardPlugin {
document.removeEventListener('mousedown', onMouseUpdateTarget, false);
document.removeEventListener('keydown', keydownHandle, false);
document.removeEventListener('keyup', keyupHandle, false);
GlobalKeyboardPlugin.removeGAKPlugin(this);
});
}