1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

Restore comment regarding usage of MinBy

This commit is contained in:
Dean Herbert 2024-01-09 01:08:47 +09:00
parent e77d203a24
commit 51bd32bf7e
No known key found for this signature in database

View File

@ -213,6 +213,7 @@ namespace osu.Game.Screens.Select.Carousel
LoadComponentsAsync(new CompositeDrawable[] LoadComponentsAsync(new CompositeDrawable[]
{ {
// Choice of background image matches BSS implementation (always uses the lowest `beatmap_id` from the set).
new SetPanelBackground(manager.GetWorkingBeatmap(beatmapSet.Beatmaps.MinBy(b => b.OnlineID))) new SetPanelBackground(manager.GetWorkingBeatmap(beatmapSet.Beatmaps.MinBy(b => b.OnlineID)))
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,