Merge branch 'results-screen' into score-statistics

This commit is contained in:
Dean Herbert
2017-04-19 20:51:23 +09:00
3 changed files with 7 additions and 4 deletions

View File

@ -116,6 +116,7 @@ namespace osu.Game
Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Exo2.0-BlackItalic")); Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Exo2.0-BlackItalic"));
Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Venera")); Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Venera"));
Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Venera-Light"));
OszArchiveReader.Register(); OszArchiveReader.Register();

View File

@ -95,8 +95,8 @@ namespace osu.Game.Screens.Ranking
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
Colour = colours.PinkDarker, Colour = colours.PinkDarker,
Y = 5, Y = 10,
TextSize = 60, TextSize = 56,
}, },
} }
}, },
@ -370,7 +370,8 @@ namespace osu.Game.Screens.Ranking
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(TextureStore textures) private void load(TextureStore textures)
{ {
cover.Texture = textures.Get(user.CoverUrl); if (user.Cover?.Url != null)
cover.Texture = textures.Get(user.Cover?.Url);
} }
} }
@ -383,6 +384,7 @@ namespace osu.Game.Screens.Ranking
public SlowScoreCounter(uint leading = 0) : base(leading) public SlowScoreCounter(uint leading = 0) : base(leading)
{ {
DisplayedCountSpriteText.Shadow = false; DisplayedCountSpriteText.Shadow = false;
DisplayedCountSpriteText.Font = @"Venera-Light";
UseCommaSeparator = true; UseCommaSeparator = true;
} }
} }