mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:43:19 +08:00
Merge pull request #23745 from Joehuu/fix-ss-incorrect-bg-preview
Fix song select beatmap panels sometimes not displaying correct background shown in web
This commit is contained in:
commit
dd3d43c70f
@ -108,7 +108,8 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
|
||||
Header.Children = new Drawable[]
|
||||
{
|
||||
background = new DelayedLoadWrapper(() => new SetPanelBackground(manager.GetWorkingBeatmap(beatmapSet.Beatmaps.FirstOrDefault()))
|
||||
// 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,
|
||||
}, 300)
|
||||
|
Loading…
Reference in New Issue
Block a user