Update submodule, removal of window AddToScreen.

This commit is contained in:
Pieter-Jan Briers
2019-07-18 22:49:49 +02:00
parent a9a99c1821
commit ce1eab9181
16 changed files with 6 additions and 29 deletions

View File

@@ -32,7 +32,6 @@ namespace Content.Client.GameObjects.Components.Power
MarginRight = 426.0f, MarginBottom = 270.0f
};
_window.OnClose += Close;
_window.AddToScreen();
_breakerButton = _window.BreakerButton;
_breakerButton.OnPressed += _ => SendMessage(new ApcToggleMainBreakerMessage());
@@ -153,7 +152,7 @@ namespace Content.Client.GameObjects.Components.Power
externalStatus.AddChild(externalStatusLabel);
externalStatus.AddChild(ExternalPowerStateLabel);
rows.AddChild(externalStatus);
var charge = new HBoxContainer("Charge");
var chargeLabel = new Label("Label") { Text = "Charge:" };
ChargeBar = new ProgressBar("Charge")