This commit is contained in:
2026-08-08 06:50:32 +02:00
parent b8d403f32d
commit 5b648b1824
2 changed files with 5 additions and 4 deletions
Binary file not shown.
@@ -41,8 +41,9 @@ namespace FlaxEditor.CustomEditors.Editors
private void OnPopupShown(ComboBox comboBox)
{
var addOrEditLayersOption = (ContextMenuButton)comboBox.Popup.Items.FirstOrDefault(x => x is FlaxEditor.GUI.ContextMenu.ContextMenuButton b && b.Text == AddOrEditLayersOption);
addOrEditLayersOption?.Icon = Editor.Instance.Icons.Settings12;
var addOrEditLayersOption = (ContextMenuButton)comboBox.Popup.Items.FirstOrDefault(x => x is ContextMenuButton b && b.Text == AddOrEditLayersOption);
if (addOrEditLayersOption != null)
addOrEditLayersOption.Icon = Editor.Instance.Icons.Settings12;
}
private void UpdateLayerItems(int selectedIndex)