mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
Use AliveChildren
This commit is contained in:
parent
bd96cf94a6
commit
53fe0ce790
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user