From: Errant <35878406+Errant-4@users.noreply.github.com> Date: Mon, 24 Feb 2025 23:21:33 +0000 (+0100) Subject: Make the version watermark less annoying (#35484) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=285decd73453483876588c9d03c518eeb00ccb54;p=space-station-14.git Make the version watermark less annoying (#35484) * make version watermark less annoying * skreee --- diff --git a/Content.Client/Gameplay/GameplayState.cs b/Content.Client/Gameplay/GameplayState.cs index 427dd5c071..0ce6436f2d 100644 --- a/Content.Client/Gameplay/GameplayState.cs +++ b/Content.Client/Gameplay/GameplayState.cs @@ -59,13 +59,13 @@ namespace Content.Client.Gameplay // Version number watermark. _version = new Label(); + _version.FontColorOverride = Color.FromHex("#FFFFFF20"); _version.Text = _changelog.GetClientVersion(); - _version.Visible = VersionVisible(); UserInterfaceManager.PopupRoot.AddChild(_version); - _configurationManager.OnValueChanged(CCVars.HudVersionWatermark, (show) => { _version.Visible = VersionVisible(); }); - _configurationManager.OnValueChanged(CCVars.ForceClientHudVersionWatermark, (show) => { _version.Visible = VersionVisible(); }); + _configurationManager.OnValueChanged(CCVars.HudVersionWatermark, (show) => { _version.Visible = VersionVisible(); }, true); + _configurationManager.OnValueChanged(CCVars.ForceClientHudVersionWatermark, (show) => { _version.Visible = VersionVisible(); }, true); // TODO make this centered or something - LayoutContainer.SetPosition(_version, new Vector2(800, 0)); + LayoutContainer.SetPosition(_version, new Vector2(70, 0)); } // This allows servers to force the watermark on clients