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

Use AliveChildren

This commit is contained in:
Dean Herbert 2020-01-21 14:20:52 +09:00
parent bd96cf94a6
commit 53fe0ce790

View File

@ -258,7 +258,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
if (!allowDeselection && selectionHandler.SelectedBlueprints.Any(s => s.IsHovered))
return;
foreach (SelectionBlueprint blueprint in selectionBlueprints.AliveBlueprints)
foreach (SelectionBlueprint blueprint in selectionBlueprints.AliveChildren)
{
if (blueprint.IsHovered)
{
@ -415,7 +415,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
protected class SelectionBlueprintContainer : Container<SelectionBlueprint>
{
public IEnumerable<SelectionBlueprint> AliveBlueprints => AliveInternalChildren.Cast<SelectionBlueprint>();
//todo: remove
}
}
}