Small cleanups

This commit is contained in:
Andrei Zavatski
2019-09-29 15:27:29 +03:00
parent 138e65d7a4
commit febe0175cd
4 changed files with 42 additions and 68 deletions

View File

@ -99,6 +99,7 @@ namespace osu.Game.Overlays.Rankings.Tables
this.value = value;
Text = HumanizerUtils.ToReadableString(value);
Font = OsuFont.GetFont(size: TEXT_SIZE);
}
}
@ -118,6 +119,11 @@ namespace osu.Game.Overlays.Rankings.Tables
protected class ColoredText : OsuSpriteText
{
public ColoredText()
{
Font = OsuFont.GetFont(size: TEXT_SIZE);
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{