From 38e39d7ccfbf11337187219993e0c043053e5138 Mon Sep 17 00:00:00 2001 From: BIGZi0348 Date: Mon, 2 Dec 2024 20:15:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BE=D1=87=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml | 1 - .../Ghost/Controls/Roles/GhostRoleButtonsBox.xaml.cs | 8 ++++---- .../Ghost/Controls/Roles/GhostRoleEntryButtons.xaml | 1 - .../Systems/Ghost/Controls/Roles/GhostRoleInfoBox.xaml | 1 - .../Systems/Ghost/Controls/Roles/GhostRoleInfoBox.xaml.cs | 2 +- .../Systems/Ghost/Controls/Roles/GhostRolesEui.cs | 4 ++-- .../Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs | 4 ++-- 7 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml index 010af7032b..32d611e771 100644 --- a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml +++ b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml @@ -4,7 +4,6 @@ - diff --git a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml.cs b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml.cs index bc23327992..45be42c8b4 100644 --- a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml.cs +++ b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml.cs @@ -1,4 +1,4 @@ -using System.Numerics; // Updated before upstream +using System.Numerics; using Content.Shared.Ghost.Roles; using Robust.Client.AutoGenerated; using Robust.Client.GameObjects; @@ -10,13 +10,13 @@ using Robust.Shared.Utility; namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles { [GenerateTypedNameReferences] - public sealed partial class GhostRoleButtonsBox : BoxContainer + public sealed partial class GhostRoleButtonsBox : BoxContainer // WD Edit ahead of wizden upstream { private SpriteSystem _spriteSystem; public event Action? OnRoleSelected; public event Action? OnRoleFollow; - public GhostRoleButtonsBox(bool hasAccess, FormattedMessage? reason, IEnumerable roles, SpriteSystem spriteSystem) + public GhostRoleButtonsBox(bool hasAccess, FormattedMessage? reason, IEnumerable roles, SpriteSystem spriteSystem) // WD Edit ahead of wizden upstream { RobustXamlLoader.Load(this); _spriteSystem = spriteSystem; @@ -42,7 +42,7 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles { TextureScale = new Vector2(0.4f, 0.4f), Stretch = TextureRect.StretchMode.KeepCentered, - Texture = _spriteSystem.Frame0(new SpriteSpecifier.Texture(new ("/Textures/Interface/Nano/lock.svg.192dpi.png"))), + Texture = _spriteSystem.Frame0(new SpriteSpecifier.Texture(new("/Textures/Interface/Nano/lock.svg.192dpi.png"))), HorizontalExpand = true, HorizontalAlignment = HAlignment.Right, }); diff --git a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleEntryButtons.xaml b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleEntryButtons.xaml index ea83e14109..05c52deef1 100644 --- a/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleEntryButtons.xaml +++ b/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleEntryButtons.xaml @@ -1,7 +1,6 @@  -