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
@@ -296,7 +296,7 @@ namespace Barotrauma
{
get
{
return ClampRect(rect);
return ClampMouseRectToParent ? ClampRect(rect) : rect;
}
}