Having a hidden child in a listbox doesn't prevent successive children from being rendered, server log can be filtered by message type
This commit is contained in:
@@ -406,7 +406,7 @@ namespace Barotrauma
|
||||
|
||||
private bool IsChildVisible(GUIComponent child)
|
||||
{
|
||||
if (child == null || !child.Visible) return false;
|
||||
if (child == null) return false;
|
||||
|
||||
if (scrollBar.IsHorizontal)
|
||||
{
|
||||
|
||||
@@ -54,6 +54,12 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
public Color TextColor
|
||||
{
|
||||
get { return text.TextColor; }
|
||||
set { text.TextColor = value; }
|
||||
}
|
||||
|
||||
public override Rectangle MouseRect
|
||||
{
|
||||
get { return box.Rect; }
|
||||
|
||||
Reference in New Issue
Block a user