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

Add beatmap carousel to new song select screen

This commit is contained in:
Salman Alshamrani 2025-02-05 07:19:12 -05:00
parent 696366f8cb
commit c94d11b7fe

View File

@ -39,6 +39,20 @@ namespace osu.Game.Screens.SelectV2
{
AddRangeInternal(new Drawable[]
{
new Container
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Bottom = ScreenFooter.HEIGHT },
Child = new BeatmapCarousel
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Both,
Width = 0.5f,
// Push the carousel slightly off the right edge of the screen for the ends of the panels to be cut off.
X = 20f,
},
},
modSelectOverlay,
});
}