Merge branch 'Tryibion-deselect-content'

This commit is contained in:
2023-04-13 10:46:25 +02:00
2 changed files with 11 additions and 1 deletions
@@ -69,7 +69,6 @@ namespace FlaxEditor.Windows
// Update UI
UpdateUI();
_view.SelectFirstItem();
}
}
+11
View File
@@ -941,6 +941,17 @@ namespace FlaxEditor.Windows
return true;
}
if (button == MouseButton.Left)
{
// Find control that is under the mouse
var c = GetChildAtRecursive(location);
if (c is ContentView)
{
_view.ClearSelection();
return true;
}
}
return base.OnMouseUp(location, button);
}