From: Skye <22365940+Skyedra@users.noreply.github.com> Date: Mon, 15 May 2023 03:45:56 +0000 (-0700) Subject: Fix action numbers (/handle UI default theme update) (#15840) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=fac42ef0c089ee215bb3f5eb952d4b5b9846af4d;p=space-station-14.git Fix action numbers (/handle UI default theme update) (#15840) Co-authored-by: metalgearsloth --- diff --git a/Content.Client/UserInterface/Controls/SlotControl.cs b/Content.Client/UserInterface/Controls/SlotControl.cs index 207e3b4357..36ffacc5c5 100644 --- a/Content.Client/UserInterface/Controls/SlotControl.cs +++ b/Content.Client/UserInterface/Controls/SlotControl.cs @@ -232,6 +232,7 @@ namespace Content.Client.UserInterface.Controls protected override void OnThemeUpdated() { + base.OnThemeUpdated(); StorageButton.TextureNormal = Theme.ResolveTexture(_storageTexturePath); ButtonRect.Texture = Theme.ResolveTexture(_buttonTexturePath); HighlightRect.Texture = Theme.ResolveTexture(_highlightTexturePath); diff --git a/Content.Client/UserInterface/Systems/Actions/Controls/ActionButton.cs b/Content.Client/UserInterface/Systems/Actions/Controls/ActionButton.cs index e032b19534..d55e495faa 100644 --- a/Content.Client/UserInterface/Systems/Actions/Controls/ActionButton.cs +++ b/Content.Client/UserInterface/Systems/Actions/Controls/ActionButton.cs @@ -158,6 +158,7 @@ public sealed class ActionButton : Control protected override void OnThemeUpdated() { + base.OnThemeUpdated(); Button.Texture = Theme.ResolveTexture("SlotBackground"); Label.FontColorOverride = Theme.ResolveColorOrSpecified("whiteText"); } diff --git a/Content.Client/UserInterface/Systems/Actions/Controls/ActionPageButtons.xaml b/Content.Client/UserInterface/Systems/Actions/Controls/ActionPageButtons.xaml index de805cc6bc..b07380caae 100644 --- a/Content.Client/UserInterface/Systems/Actions/Controls/ActionPageButtons.xaml +++ b/Content.Client/UserInterface/Systems/Actions/Controls/ActionPageButtons.xaml @@ -3,7 +3,7 @@ xmlns:controls="clr-namespace:Content.Client.UserInterface.Systems.Actions.Controls"> -