Shortcuts can be set to a context

This commit is contained in:
PeekabooSteam 2023-10-15 10:22:03 +01:00
parent fdcff53697
commit 79319dd006
2 changed files with 0 additions and 12 deletions

View File

@ -1,22 +1,11 @@
import { ShortcutManager } from "../shortcut/shortcutmanager";
export interface ContextInterface {
}
export class Context {
#shortcutManager: ShortcutManager;
constructor( config:ContextInterface ) {
this.#shortcutManager = new ShortcutManager();
}
getShortcutManager() {
return this.#shortcutManager;
}
}

View File

@ -175,7 +175,6 @@ export class OlympusApp {
this.#contextManager = new ContextManager();
this.#contextManager.add( "olympus", {} );
this.#contextManager.add( "secondary", {} );
this.#map = new Map('map-container');