From d110237423949a04cb8da04de342c9dac16873f9 Mon Sep 17 00:00:00 2001 From: xxSeys1 Date: Mon, 16 Jun 2025 14:51:29 +0200 Subject: [PATCH] fix GetVisibleItems() to only get visible items --- Source/Editor/GUI/ItemsListContextMenu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/GUI/ItemsListContextMenu.cs b/Source/Editor/GUI/ItemsListContextMenu.cs index 0f138fb80..e2a06342d 100644 --- a/Source/Editor/GUI/ItemsListContextMenu.cs +++ b/Source/Editor/GUI/ItemsListContextMenu.cs @@ -522,7 +522,7 @@ namespace FlaxEditor.GUI for (int i = 0; i < _categoryPanels.Count; i++) { var category = _categoryPanels[i]; - if (!category.Visible) + if (!category.Visible || (category is DropPanel panel && panel.IsClosed)) continue; for (int j = 0; j < category.Children.Count; j++) {