Multi-sub transition cinematic, linkedsubs don't have to be docked to the main sub when leaving (being at the same exit is enough), resetting item/serverlog listbox scroll when filtering the list
This commit is contained in:
@@ -464,9 +464,12 @@ namespace Barotrauma
|
||||
|
||||
foreach (GUIComponent child in GUItabs[selectedTab].GetChild<GUIListBox>().children)
|
||||
{
|
||||
child.Visible = child.GetChild<GUITextBlock>().Text.ToLower().Contains(text);
|
||||
var textBlock = child.GetChild<GUITextBlock>();
|
||||
child.Visible = textBlock.Text.ToLower().Contains(text);
|
||||
}
|
||||
|
||||
GUItabs[selectedTab].GetChild<GUIListBox>().BarScroll = 0.0f;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user