mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 20:12:57 +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]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
Color4[] columnColours = new[]
|
var columnColours = new[]
|
||||||
{
|
{
|
||||||
colours.RedDark,
|
colours.RedDark,
|
||||||
colours.GreenDark,
|
colours.GreenDark,
|
||||||
@ -73,7 +73,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
|||||||
int columnCount = Columns.Children.Count();
|
int columnCount = Columns.Children.Count();
|
||||||
int halfColumns = columnCount / 2;
|
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++)
|
for (int i = 0; i < halfColumns; i++)
|
||||||
{
|
{
|
||||||
@ -96,4 +96,4 @@ namespace osu.Game.Rulesets.Mania.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user