Merge pull request #10086 from peppy/rename-select-blueprint-method

Rename drag blueprint selection method for discoverability
This commit is contained in:
Dan Balasescu 2020-09-08 19:44:15 +09:00 committed by GitHub
commit 31e69fc628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
AddRangeInternal(new[] AddRangeInternal(new[]
{ {
DragBox = CreateDragBox(select), DragBox = CreateDragBox(selectBlueprintsFromDragRectangle),
selectionHandler, selectionHandler,
SelectionBlueprints = CreateSelectionBlueprintContainer(), SelectionBlueprints = CreateSelectionBlueprintContainer(),
selectionHandler.CreateProxy(), selectionHandler.CreateProxy(),
@ -326,7 +326,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
/// Select all masks in a given rectangle selection area. /// Select all masks in a given rectangle selection area.
/// </summary> /// </summary>
/// <param name="rect">The rectangle to perform a selection on in screen-space coordinates.</param> /// <param name="rect">The rectangle to perform a selection on in screen-space coordinates.</param>
private void select(RectangleF rect) private void selectBlueprintsFromDragRectangle(RectangleF rect)
{ {
foreach (var blueprint in SelectionBlueprints) foreach (var blueprint in SelectionBlueprints)
{ {