Creating user interface to manage the hotkeys
This commit is contained in:
1 parent
1ae90fc064
commit
bbb1cf0789
10 files changed
+82
-209
No files matched your search
@@ -58,9 +58,11 @@ export class HotkeysManager {
|
||||
}
|
||||
|
||||
load(contextName) {
|
||||
const context = this.getContext(contextName);
|
||||
if (!context) return;
|
||||
const definitions = this.retrieve(contextName);
|
||||
if (!definitions) return;
|
||||
this.set(contextName, definitions);
|
||||
context.extend(definitions);
|
||||
}
|
||||
|
||||
set(contextName, contextDefinitions) {
|
||||
|
||||
Reference in new issue
Block a user