Fix APC window.
This commit is contained in:
@@ -27,11 +27,12 @@ namespace Content.Client.GameObjects.Components.Power
|
|||||||
{
|
{
|
||||||
base.Open();
|
base.Open();
|
||||||
|
|
||||||
_window = new ApcWindow()
|
_window = new ApcWindow
|
||||||
{
|
{
|
||||||
MarginRight = 426.0f, MarginBottom = 270.0f
|
MarginRight = 426.0f, MarginBottom = 270.0f
|
||||||
};
|
};
|
||||||
_window.OnClose += Close;
|
_window.OnClose += Close;
|
||||||
|
_window.OpenCenteredMinSize();
|
||||||
|
|
||||||
_breakerButton = _window.BreakerButton;
|
_breakerButton = _window.BreakerButton;
|
||||||
_breakerButton.OnPressed += _ => SendMessage(new ApcToggleMainBreakerMessage());
|
_breakerButton.OnPressed += _ => SendMessage(new ApcToggleMainBreakerMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user