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