Change carousel terminology to not use Children / InternalChildren

This commit is contained in:
Dean Herbert
2022-07-21 16:06:06 +09:00
parent 55bde4eeb0
commit a05d7f4d8c
6 changed files with 44 additions and 42 deletions

View File

@ -53,7 +53,7 @@ namespace osu.Game.Screens.Select.Carousel
if (item is CarouselGroup group)
{
foreach (var c in group.Children)
foreach (var c in group.Items)
c.Filtered.ValueChanged -= onStateChange;
}
}
@ -117,7 +117,7 @@ namespace osu.Game.Screens.Select.Carousel
if (Item is CarouselGroup group)
{
foreach (var c in group.Children)
foreach (var c in group.Items)
c.Filtered.ValueChanged += onStateChange;
}
}