mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Shortcuts can be set to a context
This commit is contained in:
parent
fdcff53697
commit
79319dd006
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
@ -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');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user