1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:52:54 +08:00

Add xmldoc to ApplySelectionOrder()

This commit is contained in:
Bartłomiej Dach 2023-07-20 19:13:37 +02:00
parent 9d46d00294
commit 511948ba56
No known key found for this signature in database

View File

@ -381,6 +381,10 @@ namespace osu.Game.Screens.Edit.Compose.Components
/// </summary>
private bool selectedBlueprintAlreadySelectedOnMouseDown;
/// <summary>
/// Sorts the supplied <paramref name="blueprints"/> by the order of preference when making a selection.
/// Blueprints at the start of the list will be prioritised over later items if the selection requested is ambiguous due to spatial overlap.
/// </summary>
protected virtual IEnumerable<SelectionBlueprint<T>> ApplySelectionOrder(IEnumerable<SelectionBlueprint<T>> blueprints) => blueprints.Reverse();
/// <summary>