mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Refined a bit more.
This commit is contained in:
parent
01b30ccf12
commit
ad06117b78
@ -812,17 +812,6 @@ export class Map extends L.Map {
|
||||
|
||||
this.#olympusApp = olympusApp;
|
||||
|
||||
|
||||
// Bit crappy until we move to a more structured set of code
|
||||
|
||||
let controlTipsBoolean = this.getOlympusApp().getFeatureSwitches().getSwitch( "controlTips" )?.isEnabled();
|
||||
|
||||
controlTipsBoolean = ( typeof controlTipsBoolean === "boolean" ) ? controlTipsBoolean : true;
|
||||
|
||||
this.#visibilityOptions[SHOW_CONTROL_TIPS] = controlTipsBoolean;
|
||||
|
||||
document.dispatchEvent(new CustomEvent("mapVisibilityOptionsChanged"));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -186,6 +186,13 @@ export class ControlTips {
|
||||
"showIfHoveringOverAirbase": false,
|
||||
"showIfUnitSelected": true,
|
||||
"unitsMustBeControlled": true
|
||||
},
|
||||
{
|
||||
"key": `Mouse2`,
|
||||
"action": `Airbase menu`,
|
||||
"showIfHoveringOverAirbase": true,
|
||||
"showIfUnitSelected": true,
|
||||
"unitsMustBeControlled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user