mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Select blueprint if object is already selected at the point of adding
This commit is contained in:
parent
2d9b0acabe
commit
81f30cd264
@ -271,6 +271,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
blueprint.Selected += onBlueprintSelected;
|
blueprint.Selected += onBlueprintSelected;
|
||||||
blueprint.Deselected += onBlueprintDeselected;
|
blueprint.Deselected += onBlueprintDeselected;
|
||||||
|
|
||||||
|
if (beatmap.SelectedHitObjects.Contains(hitObject))
|
||||||
|
blueprint.Select();
|
||||||
|
|
||||||
SelectionBlueprints.Add(blueprint);
|
SelectionBlueprints.Add(blueprint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user