mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Standardise ordering/grouping of IRulesetInfo
/RulesetInfo
s
This commit is contained in:
@ -87,7 +87,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
var beatmaps = carouselSet.Beatmaps.ToList();
|
||||
|
||||
return beatmaps.Count > maximum_difficulty_icons
|
||||
? (IEnumerable<DifficultyIcon>)beatmaps.GroupBy(b => b.BeatmapInfo.Ruleset.ShortName)
|
||||
? (IEnumerable<DifficultyIcon>)beatmaps.GroupBy(b => b.BeatmapInfo.Ruleset)
|
||||
.Select(group => new FilterableGroupedDifficultyIcon(group.ToList(), group.Last().BeatmapInfo.Ruleset))
|
||||
: beatmaps.Select(b => new FilterableDifficultyIcon(b));
|
||||
}
|
||||
|
Reference in New Issue
Block a user