From 8511794ef3a4a9e3cd6b40bba2e24fcc8dcf64ab Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 31 Dec 2022 01:40:27 +0100 Subject: [PATCH] Prettifier --- UI/Base/ScrollableFullScreen.ts | 2 +- UI/BigComponents/BackgroundMapSwitch.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UI/Base/ScrollableFullScreen.ts b/UI/Base/ScrollableFullScreen.ts index 8001c971b1..90732719bd 100644 --- a/UI/Base/ScrollableFullScreen.ts +++ b/UI/Base/ScrollableFullScreen.ts @@ -6,7 +6,7 @@ import Hash from "../../Logic/Web/Hash" import BaseUIElement from "../BaseUIElement" import Title from "./Title" import Hotkeys from "./Hotkeys" -import Translations from "../i18n/Translations"; +import Translations from "../i18n/Translations" /** * diff --git a/UI/BigComponents/BackgroundMapSwitch.ts b/UI/BigComponents/BackgroundMapSwitch.ts index babee2ece3..8048f46641 100644 --- a/UI/BigComponents/BackgroundMapSwitch.ts +++ b/UI/BigComponents/BackgroundMapSwitch.ts @@ -8,7 +8,7 @@ import AvailableBaseLayers from "../../Logic/Actors/AvailableBaseLayers" import BaseUIElement from "../BaseUIElement" import { GeoOperations } from "../../Logic/GeoOperations" import Hotkeys from "../Base/Hotkeys" -import Translations from "../i18n/Translations"; +import Translations from "../i18n/Translations" class SingleLayerSelectionButton extends Toggle { public readonly activate: () => void @@ -205,7 +205,7 @@ export default class BackgroundMapSwitch extends Combine { if (options?.enableHotkeys) { Hotkeys.RegisterHotkey( { nomod: category.charAt(0).toUpperCase() }, - Translations.t.hotkeyDocumentation.selectBackground.Subs({category}), + Translations.t.hotkeyDocumentation.selectBackground.Subs({ category }), () => { button.activate() }