Fixed GUIListBox background frame not moving when the listbox is moved (dropdowns inside listboxes work correctly now), opening the "add submarine" dropdown menu in sub editor deselects all entities to prevent the entity editing panel from overlapping with the dropdown.

This commit is contained in:
Joonas Rikkonen
2018-01-10 12:24:30 +02:00
parent 5f2227489b
commit 37217db7cb
3 changed files with 27 additions and 6 deletions
@@ -87,6 +87,19 @@ namespace Barotrauma
}
}
public override Rectangle Rect
{
get
{
return rect;
}
set
{
base.Rect = value;
frame.Rect = value;
}
}
public override Color Color
{
get