Open drop panels while searching.

This commit is contained in:
Chandler Cox
2024-02-20 21:13:28 -06:00
parent 8ee2bf8d76
commit 0a7662a37b

View File

@@ -266,6 +266,10 @@ namespace FlaxEditor.GUI
}
}
category.Visible = anyVisible;
if (string.IsNullOrEmpty(_searchBox.Text))
category.Close(false);
else
category.Open(false);
}
}
@@ -391,6 +395,7 @@ namespace FlaxEditor.GUI
item2.UpdateFilter(null);
}
category.Visible = true;
category.Close(false);
}
}