diff --git a/Source/Editor/GUI/ItemsListContextMenu.cs b/Source/Editor/GUI/ItemsListContextMenu.cs
index 033af782f..50c08e9ba 100644
--- a/Source/Editor/GUI/ItemsListContextMenu.cs
+++ b/Source/Editor/GUI/ItemsListContextMenu.cs
@@ -59,12 +59,12 @@ namespace FlaxEditor.GUI
///
/// Occurs when items gets clicked by the user.
///
- public event Action- Clicked;
+ public event Action
- ItemClicked;
///
/// Occurs when items gets focused.
///
- public event Action
- Focused;
+ public event Action
- ItemFocused;
///
/// The tint color of the text.
@@ -203,7 +203,7 @@ namespace FlaxEditor.GUI
if (button == MouseButton.Left && _isMouseDown)
{
_isMouseDown = false;
- Clicked?.Invoke(this);
+ ItemClicked?.Invoke(this);
}
return base.OnMouseUp(location, button);
@@ -222,7 +222,7 @@ namespace FlaxEditor.GUI
{
base.OnGotFocus();
- Focused?.Invoke(this);
+ ItemFocused?.Invoke(this);
}
///
@@ -434,7 +434,7 @@ namespace FlaxEditor.GUI
/// The item.
public void AddItem(Item item)
{
- item.Clicked += OnClickItem;
+ item.ItemClicked += OnClickItem;
ContainerControl parent = ItemsPanel;
if (!string.IsNullOrEmpty(item.Category))
{
diff --git a/Source/Editor/Tools/Foliage/FoliageTypesTab.cs b/Source/Editor/Tools/Foliage/FoliageTypesTab.cs
index 3094d2a77..8e431aa2e 100644
--- a/Source/Editor/Tools/Foliage/FoliageTypesTab.cs
+++ b/Source/Editor/Tools/Foliage/FoliageTypesTab.cs
@@ -484,7 +484,7 @@ namespace FlaxEditor.Tools.Foliage
Tag = i,
Parent = _items,
};
- itemView.Clicked += OnFoliageTypeListItemClicked;
+ itemView.ItemClicked += OnFoliageTypeListItemClicked;
y += itemView.Height + _items.Spacing;
}
diff --git a/Source/Editor/Tools/Foliage/PaintTab.cs b/Source/Editor/Tools/Foliage/PaintTab.cs
index 71d59d565..932b9a8fd 100644
--- a/Source/Editor/Tools/Foliage/PaintTab.cs
+++ b/Source/Editor/Tools/Foliage/PaintTab.cs
@@ -302,7 +302,7 @@ namespace FlaxEditor.Tools.Foliage
Tag = i,
Parent = itemPanel,
};
- itemView.Clicked += OnFoliageTypeListItemClicked;
+ itemView.ItemClicked += OnFoliageTypeListItemClicked;
itemPanel.Height = 34;
itemPanel.Parent = _items;
diff --git a/Source/Editor/Windows/OutputLogWindow.cs b/Source/Editor/Windows/OutputLogWindow.cs
index 52555f564..b88c06b27 100644
--- a/Source/Editor/Windows/OutputLogWindow.cs
+++ b/Source/Editor/Windows/OutputLogWindow.cs
@@ -249,7 +249,7 @@ namespace FlaxEditor.Windows
lastItem.TintColor = new Color(0.75f, 0.75f, 1.0f, 1.0f);
else if (flags.HasFlag(DebugCommands.CommandFlags.Read) && !flags.HasFlag(DebugCommands.CommandFlags.Write))
lastItem.TintColor = new Color(0.85f, 0.85f, 0.85f, 1.0f);
- lastItem.Focused += item =>
+ lastItem.ItemFocused += item =>
{
// Set command
Set(item.Name);