Move popup above modal in RootControl (#2412)

This commit is contained in:
Leon Friedrich
2022-01-10 16:35:04 +01:00
committed by GitHub
parent 40b8772980
commit 28c9326305
@@ -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;