1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 07:42:58 +08:00

More warnings

This commit is contained in:
DrabWeb 2017-03-14 12:15:19 -03:00
parent 55187a8380
commit 94c2734b09
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ using osu.Framework.Graphics;
namespace osu.Game.Graphics.UserInterface
{
public interface IHasDrawableRepresentation<T> where T : Drawable
public interface IHasDrawableRepresentation<out T> where T : Drawable
{
T CreateDrawable();
}

View File

@ -235,7 +235,7 @@ namespace osu.Game.Screens.Select.Leaderboards
Size = new Vector2(score_rank_size),
Position = new Vector2(0f, -10f),
},
scoreLabel = new GlowingSpriteText(string.Format("{0:n0}", Score.TotalScore), @"Venera", 23, Color4.White, OsuColour.FromHex(@"83ccfa"))
scoreLabel = new GlowingSpriteText(Score.TotalScore.ToString("N0"), @"Venera", 23, Color4.White, OsuColour.FromHex(@"83ccfa"))
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,