From 248e3f686ba811c01c04b8ced6fc3b6577db2a83 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 24 Jul 2019 12:36:18 +0200 Subject: [PATCH] Fix APC window. --- .../GameObjects/Components/Power/ApcBoundUserInterface.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Client/GameObjects/Components/Power/ApcBoundUserInterface.cs b/Content.Client/GameObjects/Components/Power/ApcBoundUserInterface.cs index 837b70dd95..3bdc47a5f0 100644 --- a/Content.Client/GameObjects/Components/Power/ApcBoundUserInterface.cs +++ b/Content.Client/GameObjects/Components/Power/ApcBoundUserInterface.cs @@ -27,11 +27,12 @@ namespace Content.Client.GameObjects.Components.Power { base.Open(); - _window = new ApcWindow() + _window = new ApcWindow { MarginRight = 426.0f, MarginBottom = 270.0f }; _window.OnClose += Close; + _window.OpenCenteredMinSize(); _breakerButton = _window.BreakerButton; _breakerButton.OnPressed += _ => SendMessage(new ApcToggleMainBreakerMessage());