fix GetVisibleItems() to only get visible items
This commit is contained in:
@@ -522,7 +522,7 @@ namespace FlaxEditor.GUI
|
|||||||
for (int i = 0; i < _categoryPanels.Count; i++)
|
for (int i = 0; i < _categoryPanels.Count; i++)
|
||||||
{
|
{
|
||||||
var category = _categoryPanels[i];
|
var category = _categoryPanels[i];
|
||||||
if (!category.Visible)
|
if (!category.Visible || (category is DropPanel panel && panel.IsClosed))
|
||||||
continue;
|
continue;
|
||||||
for (int j = 0; j < category.Children.Count; j++)
|
for (int j = 0; j < category.Children.Count; j++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user