mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
CI cleanups.
This commit is contained in:
@ -25,9 +25,9 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
public ManiaPlayfield(int columns)
|
||||
{
|
||||
if (columns > 9)
|
||||
throw new ArgumentException($@"{columns} columns is not supported.");
|
||||
throw new ArgumentException($"{columns} columns is not supported.");
|
||||
if (columns <= 0)
|
||||
throw new ArgumentException($@"Can't have zero or fewer columns.");
|
||||
throw new ArgumentException("Can't have zero or fewer columns.");
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -63,7 +63,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
var columnColours = new Color4[]
|
||||
Color4[] columnColours = new[]
|
||||
{
|
||||
colours.RedDark,
|
||||
colours.GreenDark,
|
||||
@ -73,7 +73,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
int columnCount = Columns.Children.Count();
|
||||
int halfColumns = columnCount / 2;
|
||||
|
||||
var keys = new Key[] { Key.A, Key.S, Key.D, Key.F, Key.Space, Key.J, Key.K, Key.L, Key.Semicolon };
|
||||
Key[] keys = new[] { Key.A, Key.S, Key.D, Key.F, Key.Space, Key.J, Key.K, Key.L, Key.Semicolon };
|
||||
|
||||
for (int i = 0; i < halfColumns; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user