mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Just barely implement Popup
This commit is contained in:
@@ -34,13 +34,15 @@ namespace SS14.Client.UserInterface.Controls
|
||||
{
|
||||
SceneControl.Call("popup", box?.Convert());
|
||||
}
|
||||
}
|
||||
|
||||
public void OpenCentered()
|
||||
{
|
||||
if (GameController.OnGodot)
|
||||
else
|
||||
{
|
||||
SceneControl.Call("popup_centered");
|
||||
if (box != null)
|
||||
{
|
||||
Position = box.Value.TopLeft;
|
||||
Size = box.Value.Size;
|
||||
}
|
||||
|
||||
Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user