mirror of https://github.com/ppy/osu
CI fixes
This commit is contained in:
parent
6efa61b992
commit
1baf922f2c
|
@ -19,9 +19,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
|||
{
|
||||
public class DrawableMostPlayedBeatmap : Container
|
||||
{
|
||||
private readonly BeatmapInfo beatmap;
|
||||
private readonly OsuSpriteText mapperText;
|
||||
private readonly int playCount;
|
||||
private readonly Box background;
|
||||
private Color4 idleBackgroundColour;
|
||||
private Color4 hoveredBackgroundColour;
|
||||
|
@ -34,9 +32,6 @@ public class DrawableMostPlayedBeatmap : Container
|
|||
|
||||
public DrawableMostPlayedBeatmap(BeatmapInfo beatmap, int playCount)
|
||||
{
|
||||
this.beatmap = beatmap;
|
||||
this.playCount = playCount;
|
||||
|
||||
RelativeSizeAxes = Axes.X;
|
||||
Height = 60;
|
||||
Masking = true;
|
||||
|
@ -80,7 +75,7 @@ public DrawableMostPlayedBeatmap(BeatmapInfo beatmap, int playCount)
|
|||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.BottomLeft,
|
||||
Margin = new MarginPadding { Bottom = 2 },
|
||||
Text = new OsuSpriteText[]
|
||||
Text = new[]
|
||||
{
|
||||
new OsuSpriteText
|
||||
{
|
||||
|
@ -112,7 +107,7 @@ public DrawableMostPlayedBeatmap(BeatmapInfo beatmap, int playCount)
|
|||
},
|
||||
mapper = new UnderscoredUserLink(beatmap.Metadata.Author.Id)
|
||||
{
|
||||
Text = new OsuSpriteText[]
|
||||
Text = new[]
|
||||
{
|
||||
new OsuSpriteText
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue