mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Readded context menus
This commit is contained in:
@@ -89,6 +89,15 @@ export class ShortcutManager {
|
||||
ctrlKey: false,
|
||||
shiftKey: false,
|
||||
})
|
||||
.addKeyboardShortcut("toggleRelativePositions", {
|
||||
altKey: false,
|
||||
callback: () => {
|
||||
getApp().getMap().setOption("keepRelativePositions", !getApp().getMap().getOptions().keepRelativePositions);
|
||||
},
|
||||
code: "KeyP",
|
||||
ctrlKey: false,
|
||||
shiftKey: false,
|
||||
})
|
||||
.addKeyboardShortcut("increaseCameraZoom", {
|
||||
altKey: true,
|
||||
callback: () => {
|
||||
|
||||
Reference in New Issue
Block a user