mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 07:04:15 +08:00
More warnings
This commit is contained in:
parent
55187a8380
commit
94c2734b09
@ -5,7 +5,7 @@ using osu.Framework.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Graphics.UserInterface
|
namespace osu.Game.Graphics.UserInterface
|
||||||
{
|
{
|
||||||
public interface IHasDrawableRepresentation<T> where T : Drawable
|
public interface IHasDrawableRepresentation<out T> where T : Drawable
|
||||||
{
|
{
|
||||||
T CreateDrawable();
|
T CreateDrawable();
|
||||||
}
|
}
|
||||||
|
@ -235,7 +235,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
Size = new Vector2(score_rank_size),
|
Size = new Vector2(score_rank_size),
|
||||||
Position = new Vector2(0f, -10f),
|
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,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
|
Loading…
Reference in New Issue
Block a user