1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Use beatmap cards in spotlights layout

This commit is contained in:
Bartłomiej Dach 2021-10-24 19:21:46 +02:00
parent 42b09fd1ec
commit ec2265d5bb
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -13,9 +13,9 @@ using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Rankings.Tables;
using System.Linq;
using System.Threading;
using osu.Game.Beatmaps.Drawables.Cards;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays.BeatmapListing.Panels;
namespace osu.Game.Overlays.Rankings
{
@ -143,7 +143,7 @@ namespace osu.Game.Overlays.Rankings
AutoSizeAxes = Axes.Y,
RelativeSizeAxes = Axes.X,
Spacing = new Vector2(10),
Children = response.BeatmapSets.Select(b => new GridBeatmapPanel(b)
Children = response.BeatmapSets.Select(b => new BeatmapCard(b)
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,