Prettifier

This commit is contained in:
Pieter Vander Vennet 2022-12-31 01:40:27 +01:00
parent 5da7eab890
commit 8511794ef3
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ import Hash from "../../Logic/Web/Hash"
import BaseUIElement from "../BaseUIElement" import BaseUIElement from "../BaseUIElement"
import Title from "./Title" import Title from "./Title"
import Hotkeys from "./Hotkeys" import Hotkeys from "./Hotkeys"
import Translations from "../i18n/Translations"; import Translations from "../i18n/Translations"
/** /**
* *

View file

@ -8,7 +8,7 @@ import AvailableBaseLayers from "../../Logic/Actors/AvailableBaseLayers"
import BaseUIElement from "../BaseUIElement" import BaseUIElement from "../BaseUIElement"
import { GeoOperations } from "../../Logic/GeoOperations" import { GeoOperations } from "../../Logic/GeoOperations"
import Hotkeys from "../Base/Hotkeys" import Hotkeys from "../Base/Hotkeys"
import Translations from "../i18n/Translations"; import Translations from "../i18n/Translations"
class SingleLayerSelectionButton extends Toggle { class SingleLayerSelectionButton extends Toggle {
public readonly activate: () => void public readonly activate: () => void
@ -205,7 +205,7 @@ export default class BackgroundMapSwitch extends Combine {
if (options?.enableHotkeys) { if (options?.enableHotkeys) {
Hotkeys.RegisterHotkey( Hotkeys.RegisterHotkey(
{ nomod: category.charAt(0).toUpperCase() }, { nomod: category.charAt(0).toUpperCase() },
Translations.t.hotkeyDocumentation.selectBackground.Subs({category}), Translations.t.hotkeyDocumentation.selectBackground.Subs({ category }),
() => { () => {
button.activate() button.activate()
} }