Small bug fix
This commit is contained in:
@@ -762,7 +762,11 @@ namespace FlaxEditor.GUI.Tree
|
|||||||
// Add/Remove
|
// Add/Remove
|
||||||
tree.AddOrRemoveSelection(this);
|
tree.AddOrRemoveSelection(this);
|
||||||
}
|
}
|
||||||
else if (button != MouseButton.Right)
|
else if (button == MouseButton.Right && tree.Selection.Contains(this))
|
||||||
|
{
|
||||||
|
// Do nothing
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
// Select
|
// Select
|
||||||
tree.Select(this);
|
tree.Select(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user