mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 06:42:25 +02:00
Move popup above modal in RootControl (#2412)
This commit is contained in:
@@ -164,13 +164,6 @@ namespace Robust.Client.UserInterface
|
||||
};
|
||||
RootControl.AddChild(WindowRoot);
|
||||
|
||||
PopupRoot = new LayoutContainer
|
||||
{
|
||||
Name = "PopupRoot",
|
||||
MouseFilter = Control.MouseFilterMode.Ignore
|
||||
};
|
||||
RootControl.AddChild(PopupRoot);
|
||||
|
||||
ModalRoot = new PopupContainer
|
||||
{
|
||||
Name = "ModalRoot",
|
||||
@@ -178,6 +171,13 @@ namespace Robust.Client.UserInterface
|
||||
};
|
||||
RootControl.AddChild(ModalRoot);
|
||||
|
||||
PopupRoot = new LayoutContainer
|
||||
{
|
||||
Name = "PopupRoot",
|
||||
MouseFilter = Control.MouseFilterMode.Ignore
|
||||
};
|
||||
RootControl.AddChild(PopupRoot);
|
||||
|
||||
_tooltip = new Tooltip();
|
||||
PopupRoot.AddChild(_tooltip);
|
||||
_tooltip.Visible = false;
|
||||
|
||||
Reference in New Issue
Block a user