Update submodule, removal of window AddToScreen.
This commit is contained in:
@@ -43,8 +43,6 @@ namespace Content.Client.GameObjects.Components.Actor
|
||||
var uiComponents = Owner.GetAllComponents<ICharacterUI>();
|
||||
Window = new CharacterWindow(uiComponents);
|
||||
Window.OnClose += () => _gameHud.CharacterButtonDown = false;
|
||||
|
||||
Window.AddToScreen();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -98,7 +96,6 @@ namespace Content.Client.GameObjects.Components.Actor
|
||||
public CharacterWindow(IEnumerable<ICharacterUI> windowComponents)
|
||||
{
|
||||
Title = "Character";
|
||||
HideOnClose = true;
|
||||
Visible = false;
|
||||
|
||||
_contentsVBox = new VBoxContainer();
|
||||
|
||||
@@ -44,7 +44,6 @@ namespace Content.Client.GameObjects.Components.Construction
|
||||
ConstructionMenu = new ConstructionMenu {Owner = this};
|
||||
ConstructionMenu.OnClose += () => _gameHud.CraftingButtonDown = false;
|
||||
}
|
||||
ConstructionMenu.AddToScreen();
|
||||
|
||||
_gameHud.CraftingButtonVisible = true;
|
||||
_gameHud.CraftingButtonToggled = b =>
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -28,7 +28,6 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
Title = "Power Debug Tool",
|
||||
};
|
||||
LastWindow.Contents.AddChild(new Label() { Text = msg.Data });
|
||||
LastWindow.AddToScreen();
|
||||
LastWindow.Open();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -52,10 +52,8 @@ namespace Content.Client.GameObjects.Components.Research
|
||||
|
||||
menu.OnClose += Close;
|
||||
|
||||
menu.AddToScreen();
|
||||
menu.Populate();
|
||||
menu.PopulateMaterials();
|
||||
queueMenu.AddToScreen();
|
||||
|
||||
menu.QueueButton.OnPressed += (args) => { queueMenu.OpenCentered(); };
|
||||
|
||||
|
||||
@@ -81,7 +81,6 @@ namespace Content.Client.GameObjects.Components.Storage
|
||||
/// </summary>
|
||||
private void OpenUI()
|
||||
{
|
||||
Window.AddToScreen();
|
||||
Window.Open();
|
||||
}
|
||||
|
||||
@@ -119,7 +118,6 @@ namespace Content.Client.GameObjects.Components.Storage
|
||||
base.Initialize();
|
||||
|
||||
Title = "Storage Item";
|
||||
HideOnClose = true;
|
||||
Visible = false;
|
||||
RectClipContent = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user