1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:03:08 +08:00

Add comment explaining implementation

This commit is contained in:
Dean Herbert 2023-06-06 13:30:56 +09:00
parent 4eb0f0261c
commit c54670aee1

View File

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