mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 19:47:33 +09:00
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
|
public class DrawableMostPlayedBeatmap : Container
|
||||||
{
|
{
|
||||||
private readonly BeatmapInfo beatmap;
|
|
||||||
private readonly OsuSpriteText mapperText;
|
private readonly OsuSpriteText mapperText;
|
||||||
private readonly int playCount;
|
|
||||||
private readonly Box background;
|
private readonly Box background;
|
||||||
private Color4 idleBackgroundColour;
|
private Color4 idleBackgroundColour;
|
||||||
private Color4 hoveredBackgroundColour;
|
private Color4 hoveredBackgroundColour;
|
||||||
@ -34,9 +32,6 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
|||||||
|
|
||||||
public DrawableMostPlayedBeatmap(BeatmapInfo beatmap, int playCount)
|
public DrawableMostPlayedBeatmap(BeatmapInfo beatmap, int playCount)
|
||||||
{
|
{
|
||||||
this.beatmap = beatmap;
|
|
||||||
this.playCount = playCount;
|
|
||||||
|
|
||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
Height = 60;
|
Height = 60;
|
||||||
Masking = true;
|
Masking = true;
|
||||||
@ -80,7 +75,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
|||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Margin = new MarginPadding { Bottom = 2 },
|
Margin = new MarginPadding { Bottom = 2 },
|
||||||
Text = new OsuSpriteText[]
|
Text = new[]
|
||||||
{
|
{
|
||||||
new OsuSpriteText
|
new OsuSpriteText
|
||||||
{
|
{
|
||||||
@ -112,7 +107,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
|||||||
},
|
},
|
||||||
mapper = new UnderscoredUserLink(beatmap.Metadata.Author.Id)
|
mapper = new UnderscoredUserLink(beatmap.Metadata.Author.Id)
|
||||||
{
|
{
|
||||||
Text = new OsuSpriteText[]
|
Text = new[]
|
||||||
{
|
{
|
||||||
new OsuSpriteText
|
new OsuSpriteText
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user