bug fixed with shorcut numbers
This commit is contained in:
1 parent
b4475efc5d
commit
7f84ce40ef
3 files changed
+4
No files matched your search
@@ -249,6 +249,7 @@ function newCanvas () {
|
||||
}
|
||||
|
||||
function onKeyDown (event) {
|
||||
if (EDITOR_ON_FOCUS === true) { return }
|
||||
thisObject.mouse.event = event
|
||||
thisObject.mouse.action = 'key down'
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ function newCodeEditor () {
|
||||
textArea.style.display = 'none'
|
||||
thisObject.payload.node.code = textArea.value
|
||||
}
|
||||
EDITOR_ON_FOCUS = false
|
||||
}
|
||||
|
||||
function activate (payload) {
|
||||
@@ -98,6 +99,7 @@ function newCodeEditor () {
|
||||
'height: ' + thisObject.container.frame.height + 'px'
|
||||
textArea.style.display = 'block'
|
||||
textArea.focus()
|
||||
EDITOR_ON_FOCUS = true
|
||||
}
|
||||
|
||||
function getContainer (point) {
|
||||
|
||||
@@ -122,6 +122,7 @@ dailyFilePeriods = JSON.parse(dailyFilePeriods);
|
||||
|
||||
let SHOW_ANIMATION_PERFORMACE = false;
|
||||
let MENU_ITEM_ON_FOCUS
|
||||
let EDITOR_ON_FOCUS
|
||||
|
||||
let testUser = window.localStorage.getItem("test_user")
|
||||
let LOGGED_IN_USER_LOCAL_STORAGE_KEY
|
||||
|
||||
Reference in new issue
Block a user