Fixed monster spawn & extra cargo settings being impossible to select due to the menus being outside of their parent GUIComponent

This commit is contained in:
Joonas Rikkonen
2018-01-10 14:21:37 +02:00
parent 37217db7cb
commit f9500fa6e1
4 changed files with 12 additions and 5 deletions
@@ -63,7 +63,7 @@ namespace Barotrauma
public override Rectangle MouseRect
{
get { return ClampRect(box.Rect); }
get { return ClampMouseRectToParent ? ClampRect(box.Rect) : box.Rect; }
}
public override ScalableFont Font