Adjust styling to closer match osu-web

This commit is contained in:
smoogipoo
2020-01-29 18:51:20 +09:00
parent d908bc2693
commit 7f946047f9
2 changed files with 7 additions and 12 deletions

View File

@ -174,8 +174,8 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
protected OsuSpriteText CreateDrawableAccuracy() => new OsuSpriteText
{
Text = $"{Score.Accuracy:P2}",
Font = OsuFont.GetFont(weight: FontWeight.Bold, italics: true),
Text = $"{Score.Accuracy:0.00%}",
Font = OsuFont.GetFont(size: 14, weight: FontWeight.Bold, italics: true),
Colour = colours.Yellow,
};
@ -233,14 +233,14 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
Text = new LocalisedString((
$"{beatmap.Metadata.TitleUnicode ?? beatmap.Metadata.Title} ",
$"{beatmap.Metadata.Title ?? beatmap.Metadata.TitleUnicode} ")),
Font = OsuFont.GetFont(weight: FontWeight.SemiBold, italics: true)
Font = OsuFont.GetFont(size: 14, weight: FontWeight.SemiBold, italics: true)
},
new OsuSpriteText
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Text = "by " + new LocalisedString((beatmap.Metadata.ArtistUnicode, beatmap.Metadata.Artist)),
Font = OsuFont.GetFont(size: 14, italics: true)
Font = OsuFont.GetFont(size: 12, italics: true)
},
};
}