Fixing issues with hotkeys and presets
This commit is contained in:
1 parent
29a8a3db8f
commit
e93c18c28f
2 files changed
+11
-13
No files matched your search
@@ -80,7 +80,8 @@ export class HotkeysManager {
|
||||
return new Promise((resolve, reject) => {
|
||||
const context = this.getContext(contextName);
|
||||
if (!context) return;
|
||||
this.retrieve(contextName).then(definitions => {
|
||||
this.retrieve(contextName).then(defs => {
|
||||
const definitions = defs || this.defaults[contextName];
|
||||
if (!definitions) {
|
||||
this.changeObserver.changed();
|
||||
return reject();
|
||||
|
||||
Reference in new issue
Block a user