diff --git a/Robust.Client/UserInterface/UserInterfaceManager.cs b/Robust.Client/UserInterface/UserInterfaceManager.cs index 52cc5f94d6..791bb0a001 100644 --- a/Robust.Client/UserInterface/UserInterfaceManager.cs +++ b/Robust.Client/UserInterface/UserInterfaceManager.cs @@ -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;