1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 03:22:55 +08:00

Align text

This commit is contained in:
Dean Herbert 2019-02-28 14:46:52 +09:00
parent 774116923b
commit 99e2e6cf1c

View File

@ -47,7 +47,8 @@ namespace osu.Game.Overlays.Profile.Sections
{
new OsuSpriteText
{
Text = new LocalisedString(($"{beatmap.Metadata.TitleUnicode ?? beatmap.Metadata.Title} [{beatmap.Version}] ",
Text = new LocalisedString((
$"{beatmap.Metadata.TitleUnicode ?? beatmap.Metadata.Title} [{beatmap.Version}] ",
$"{beatmap.Metadata.Title ?? beatmap.Metadata.TitleUnicode} [{beatmap.Version}] ")),
Font = OsuFont.GetFont(size: 15, weight: FontWeight.SemiBold, italics: true)
},