keydown event fixed

This commit is contained in:
Luis Fernando Molina committed 2020-12-22 17:59:55 +01:00
1 parent 514f010e5a
commit f75895bfa5
2 files changed
+7 -1

No files matched your search

+4
View File
@@ -375,6 +375,10 @@ function newCanvas() {
window.editorController.onKeyDown(event)
return
}
/* When the Docs is Visible, we do not process key down events of the Designer Space. */
if (UI.projects.superalgos.spaces.docsSpace.isVisible === true) {
return
}
thisObject.mouse.event = event
thisObject.mouse.action = 'key down'