From: James Simonson Date: Tue, 7 Mar 2023 01:55:35 +0000 (+0800) Subject: Enhanced APC UI + New NT logo to footer (#14258) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3bcd319ae4dac8c16cbf7ec598d26aa7dbc8564d;p=space-station-14.git Enhanced APC UI + New NT logo to footer (#14258) --- diff --git a/Content.Client/Access/UI/IdCardConsoleBoundUserInterface.cs b/Content.Client/Access/UI/IdCardConsoleBoundUserInterface.cs index 9eb989f715..1ef9158aeb 100644 --- a/Content.Client/Access/UI/IdCardConsoleBoundUserInterface.cs +++ b/Content.Client/Access/UI/IdCardConsoleBoundUserInterface.cs @@ -5,7 +5,6 @@ using Content.Shared.CrewManifest; using Robust.Client.GameObjects; using Robust.Shared.Prototypes; using static Content.Shared.Access.Components.SharedIdCardConsoleComponent; - namespace Content.Client.Access.UI { public sealed class IdCardConsoleBoundUserInterface : BoundUserInterface @@ -16,7 +15,6 @@ namespace Content.Client.Access.UI public IdCardConsoleBoundUserInterface(ClientUserInterfaceComponent owner, Enum uiKey) : base(owner, uiKey) { } - private IdCardConsoleWindow? _window; protected override void Open() diff --git a/Content.Client/Power/APC/ApcBoundUserInterface.cs b/Content.Client/Power/APC/ApcBoundUserInterface.cs index 65ba4c7ec0..d85edb8d1a 100644 --- a/Content.Client/Power/APC/ApcBoundUserInterface.cs +++ b/Content.Client/Power/APC/ApcBoundUserInterface.cs @@ -16,7 +16,7 @@ namespace Content.Client.Power.APC { base.Open(); - _menu = new ApcMenu(this); + _menu = new ApcMenu(this,Owner); _menu.OnClose += Close; _menu.OpenCentered(); } diff --git a/Content.Client/Power/APC/UI/ApcMenu.xaml b/Content.Client/Power/APC/UI/ApcMenu.xaml index 5926b5de4c..0ce4a943da 100644 --- a/Content.Client/Power/APC/UI/ApcMenu.xaml +++ b/Content.Client/Power/APC/UI/ApcMenu.xaml @@ -1,28 +1,59 @@ - - - - -