1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 01:47:33 +08:00

Fix usages of SpriteText and obsolete members

This commit is contained in:
smoogipoo 2019-04-03 15:44:14 +09:00
parent dff58ab4ed
commit 0cf27e244d

View File

@ -125,13 +125,12 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Spacing = new Vector2(margin, 0), Spacing = new Vector2(margin, 0),
Children = new Drawable[] Children = new Drawable[]
{ {
rankText = new SpriteText rankText = new OsuSpriteText
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Text = "#1", Text = "#1",
TextSize = 30, Font = OsuFont.GetFont(size: 30, weight: FontWeight.Bold, italics: true)
Font = @"Exo2.0-BoldItalic",
}, },
rank = new DrawableRank(ScoreRank.F) rank = new DrawableRank(ScoreRank.F)
{ {
@ -173,8 +172,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
TextSize = 15, Font = OsuFont.GetFont(size: 15, weight: FontWeight.Bold)
Font = @"Exo2.0-Bold",
}, },
flag = new DrawableFlag flag = new DrawableFlag
{ {