Fix code quality issues

This commit is contained in:
TheWildTree
2020-02-27 22:35:02 +01:00
parent b65f5031a2
commit 92da7132cd
3 changed files with 4 additions and 7 deletions

View File

@ -66,12 +66,9 @@ namespace osu.Game.Overlays.Rankings.Tables
[Resolved(canBeNull: true)]
private RankingsOverlay rankings { get; set; }
private readonly Country country;
public CountryName(Country country) : base(t => t.Font = OsuFont.GetFont(size: 12))
public CountryName(Country country)
: base(t => t.Font = OsuFont.GetFont(size: 12))
{
this.country = country;
AutoSizeAxes = Axes.X;
RelativeSizeAxes = Axes.Y;
TextAnchor = Anchor.CentreLeft;