Add shift to continue selection

This commit is contained in:
Chandler Cox
2025-01-12 21:41:24 -06:00
parent d0d5ad4657
commit 3b7cb00af2

View File

@@ -663,6 +663,14 @@ namespace FlaxEditor.Viewport
}
Select(newSelection);
}
else if (((WindowRootControl)Root).GetKey(KeyboardKeys.Shift))
{
var newSelection = new List<SceneGraphNode>();
var currentSelection = _editor.SceneEditing.Selection;
newSelection.AddRange(hits);
newSelection.AddRange(currentSelection);
Select(newSelection);
}
else
{
Select(hits);