Fix APC window.

This commit is contained in:
Pieter-Jan Briers
2019-07-24 12:36:18 +02:00
parent 69f5600a51
commit 248e3f686b

View File

@@ -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());