mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 12:20:26 +02:00
Merge pull request #14778 from thoys/fix/create/ignoreScriptedKeyEventsFromJSONEditor
MS20501 [CreateApp/Properties] ignore scripted key events from the JSON Editors
This commit is contained in:
commit
9d09c777d2
1 changed files with 5 additions and 0 deletions
|
@ -3798,6 +3798,11 @@ function loaded() {
|
|||
if (FILTERED_NODE_NAMES.includes(keyUpEvent.target.nodeName)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (elUserDataEditor.contains(keyUpEvent.target) || elMaterialDataEditor.contains(keyUpEvent.target)) {
|
||||
return;
|
||||
}
|
||||
|
||||
let {code, key, keyCode, altKey, ctrlKey, metaKey, shiftKey} = keyUpEvent;
|
||||
|
||||
let controlKey = window.navigator.platform.startsWith("Mac") ? metaKey : ctrlKey;
|
||||
|
|
Loading…
Reference in a new issue