Fix right click deselecting scene tree nodes.

This commit is contained in:
Chandler Cox
2023-09-03 06:36:29 -05:00
parent 36dca16991
commit 924e1c6d81

View File

@@ -762,7 +762,7 @@ namespace FlaxEditor.GUI.Tree
// Add/Remove
tree.AddOrRemoveSelection(this);
}
else
else if (button != MouseButton.Right)
{
// Select
tree.Select(this);