mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
Fix code quality issues
This commit is contained in:
parent
b65f5031a2
commit
92da7132cd
@ -175,7 +175,7 @@ namespace osu.Game.Overlays.Rankings
|
||||
|
||||
private class SpotlightsDropdownHeader : OsuDropdownHeader
|
||||
{
|
||||
public SpotlightsDropdownHeader() : base()
|
||||
public SpotlightsDropdownHeader()
|
||||
{
|
||||
Height = 48;
|
||||
Text.Font = OsuFont.GetFont(size: 15);
|
||||
|
@ -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;
|
||||
|
@ -19,7 +19,7 @@ namespace osu.Game.Overlays.Rankings.Tables
|
||||
{
|
||||
}
|
||||
|
||||
protected override IEnumerable<string> GradeColumns() => new List<string>() { "SS", "S", "A" };
|
||||
protected override IEnumerable<string> GradeColumns() => new List<string> { "SS", "S", "A" };
|
||||
|
||||
protected override TableColumn[] CreateAdditionalHeaders()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user