mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Update and add missing beatmap statistic icons to info wedge
This commit is contained in:
@ -318,14 +318,14 @@ namespace osu.Game.Screens.Select
|
||||
labels.Add(new InfoLabel(new BeatmapStatistic
|
||||
{
|
||||
Name = "Length",
|
||||
Icon = FontAwesome.Regular.Clock,
|
||||
CreateIcon = () => new BeatmapStatisticSprite("length"),
|
||||
Content = TimeSpan.FromMilliseconds(b.BeatmapInfo.Length).ToString(@"m\:ss"),
|
||||
}));
|
||||
|
||||
labels.Add(new InfoLabel(new BeatmapStatistic
|
||||
{
|
||||
Name = "BPM",
|
||||
Icon = FontAwesome.Regular.Circle,
|
||||
CreateIcon = () => new BeatmapStatisticSprite("bpm"),
|
||||
Content = getBPMRange(b),
|
||||
}));
|
||||
|
||||
@ -418,10 +418,18 @@ namespace osu.Game.Screens.Select
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Scale = new Vector2(0.8f),
|
||||
Colour = Color4Extensions.FromHex(@"f7dd55"),
|
||||
Icon = statistic.Icon,
|
||||
Icon = FontAwesome.Regular.Circle,
|
||||
Scale = new Vector2(0.8f)
|
||||
},
|
||||
statistic.CreateIcon().With(i =>
|
||||
{
|
||||
i.Anchor = Anchor.Centre;
|
||||
i.Origin = Anchor.Centre;
|
||||
i.RelativeSizeAxes = Axes.Both;
|
||||
i.Size = new Vector2(1.2f);
|
||||
i.Colour = Color4Extensions.FromHex(@"f7dd55");
|
||||
}),
|
||||
}
|
||||
},
|
||||
new OsuSpriteText
|
||||
|
Reference in New Issue
Block a user