mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Less array explicivity.
This commit is contained in:
parent
7de36b7aa2
commit
d21c3358b9
@ -63,7 +63,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
Color4[] columnColours = new[]
|
||||
var 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;
|
||||
|
||||
Key[] keys = new[] { Key.A, Key.S, Key.D, Key.F, Key.Space, Key.J, Key.K, Key.L, Key.Semicolon };
|
||||
var 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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user