1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Select blueprint if object is already selected at the point of adding

This commit is contained in:
Dean Herbert 2020-09-12 20:31:50 +09:00
parent 2d9b0acabe
commit 81f30cd264

View File

@ -271,6 +271,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
blueprint.Selected += onBlueprintSelected;
blueprint.Deselected += onBlueprintDeselected;
if (beatmap.SelectedHitObjects.Contains(hitObject))
blueprint.Select();
SelectionBlueprints.Add(blueprint);
}