Move some default window positions (#10007)
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Content.Client.Inventory
|
||||
_strippingMenu = new StrippingMenu($"{Loc.GetString("strippable-bound-user-interface-stripping-menu-title", ("ownerName", Identity.Name(Owner.Owner, entMan)))}");
|
||||
|
||||
_strippingMenu.OnClose += Close;
|
||||
_strippingMenu.OpenCentered();
|
||||
_strippingMenu.OpenCenteredLeft();
|
||||
UpdateMenu();
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Content.Client.PDA
|
||||
base.Open();
|
||||
SendMessage(new PDARequestUpdateInterfaceMessage());
|
||||
_menu = new PDAMenu();
|
||||
_menu.OpenToLeft();
|
||||
_menu.OpenCenteredLeft();
|
||||
_menu.OnClose += Close;
|
||||
_menu.FlashLightToggleButton.OnToggled += _ =>
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Content.Client.Storage
|
||||
_window.StorageContainerButton.OnPressed += TouchedContainerButton;
|
||||
|
||||
_window.OnClose += Close;
|
||||
_window.OpenCentered();
|
||||
_window.OpenCenteredLeft();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Content.Shared.Wires;
|
||||
using Content.Shared.Wires;
|
||||
using Robust.Client.GameObjects;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Content.Client.Wires.UI
|
||||
|
||||
_menu = new WiresMenu(this);
|
||||
_menu.OnClose += Close;
|
||||
_menu.OpenCentered();
|
||||
_menu.OpenCenteredLeft();
|
||||
}
|
||||
|
||||
protected override void UpdateState(BoundUserInterfaceState state)
|
||||
|
||||
Reference in New Issue
Block a user