From a144cf17f4cfe30c1ef5b8fb1278e8b2ad8339fd Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 15 Nov 2020 16:08:17 +0100 Subject: [PATCH] Small tweaks --- InitUiElements.ts | 2 +- Svg.ts | 2 +- UI/Input/ValidatedTextField.ts | 2 +- assets/themes/surveillance_cameras/cam.svg | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/InitUiElements.ts b/InitUiElements.ts index d978197..7b660bf 100644 --- a/InitUiElements.ts +++ b/InitUiElements.ts @@ -290,7 +290,7 @@ export class InitUiElements { if (userdetails.csCount < State.userJourney.mapCompleteHelpUnlock) { return "" } - return Translations.t.general.aboutMapcomplete.Render(); + return new Combine([Translations.t.general.aboutMapcomplete, "
Version "+State.vNumber]).Render(); }, [Locale.language])) } ); diff --git a/Svg.ts b/Svg.ts index f5a8d65..4850a0c 100644 --- a/Svg.ts +++ b/Svg.ts @@ -104,7 +104,7 @@ export default class Svg { public static help_svg() { return new FixedUiElement(Svg.help);} public static help_ui() { return new FixedUiElement(Svg.help_img);} - public static home = " " + public static home = " " public static home_img = Img.AsImageElement(Svg.home) public static home_svg() { return new FixedUiElement(Svg.home);} public static home_ui() { return new FixedUiElement(Svg.home_img);} diff --git a/UI/Input/ValidatedTextField.ts b/UI/Input/ValidatedTextField.ts index 9ba1a18..0071ab3 100644 --- a/UI/Input/ValidatedTextField.ts +++ b/UI/Input/ValidatedTextField.ts @@ -100,7 +100,7 @@ export default class ValidatedTextField { }), ValidatedTextField.tp( "direction", - "A geographical direction, in degrees. 0° is north, 90° is east", + "A geographical direction, in degrees. 0° is north, 90° is east, ... Will return a value between 0 (incl) and 360 (excl)", (str) => { str = "" + str; return str !== undefined && str.indexOf(".") < 0 && !isNaN(Number(str)) && Number(str) > 0 && Number(str) <= 360 diff --git a/assets/themes/surveillance_cameras/cam.svg b/assets/themes/surveillance_cameras/cam.svg index 0fcce84..dbe448f 100644 --- a/assets/themes/surveillance_cameras/cam.svg +++ b/assets/themes/surveillance_cameras/cam.svg @@ -39,19 +39,19 @@ inkscape:window-height="1001" id="namedview8" showgrid="false" - inkscape:zoom="3.1466667" - inkscape:cx="77.828572" - inkscape:cy="166.9393" + inkscape:zoom="1.5733333" + inkscape:cx="-95.73727" + inkscape:cy="204.79067" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="svg6" /> + sodipodi:nodetypes="cccccccccccssccc" />