Adjust sprite texts in-line with framework changes

This commit is contained in:
smoogipoo
2019-02-12 13:04:46 +09:00
parent e174fa2d3e
commit a2aa3ec5cb
140 changed files with 424 additions and 514 deletions

View File

@ -75,13 +75,12 @@ namespace osu.Game.Overlays.Direct
new OsuSpriteText
{
Text = new LocalisedString((SetInfo.Metadata.TitleUnicode, SetInfo.Metadata.Title)),
TextSize = 18,
Font = @"Exo2.0-BoldItalic",
Font = OsuFont.GetFont(size: 18, weight: FontWeight.Bold, italics: true)
},
new OsuSpriteText
{
Text = new LocalisedString((SetInfo.Metadata.ArtistUnicode, SetInfo.Metadata.Artist)),
Font = @"Exo2.0-BoldItalic",
Font = OsuFont.GetFont(weight: FontWeight.Bold, italics: true)
},
},
},
@ -127,15 +126,14 @@ namespace osu.Game.Overlays.Direct
new OsuSpriteText
{
Text = "mapped by ",
TextSize = 14,
Font = OsuFont.GetFont(size: 14),
Shadow = false,
Colour = colours.Gray5,
},
new OsuSpriteText
{
Text = SetInfo.Metadata.Author.Username,
TextSize = 14,
Font = @"Exo2.0-SemiBoldItalic",
Font = OsuFont.GetFont(size: 14, weight: FontWeight.SemiBold, italics: true),
Shadow = false,
Colour = colours.BlueDark,
},
@ -150,7 +148,7 @@ namespace osu.Game.Overlays.Direct
new OsuSpriteText
{
Text = SetInfo.Metadata.Source,
TextSize = 14,
Font = OsuFont.GetFont(size: 14),
Shadow = false,
Colour = colours.Gray5,
Alpha = string.IsNullOrEmpty(SetInfo.Metadata.Source) ? 0f : 1f,