Creating user interface to manage the hotkeys

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2017-06-14 09:19:49 +02:00
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) {