Keyword Spacing and Brackets Fixing

This commit is contained in:
John Neijzen
2017-06-08 14:35:10 +08:00
parent bf45155ed5
commit 431d225a60
17 changed files with 16 additions and 21 deletions

View File

@ -81,7 +81,7 @@ namespace osu.Game.Graphics.UserInterface
background = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = new Color4(0,0,0,0)
Colour = new Color4(0, 0, 0, 0)
},
bar = new Box
{

View File

@ -16,7 +16,7 @@ namespace osu.Game.Graphics.UserInterface
throw new InvalidOperationException("OsuEnumDropdown only supports enums as the generic type argument");
List<KeyValuePair<string, T>> items = new List<KeyValuePair<string, T>>();
foreach(var val in (T[])Enum.GetValues(typeof(T)))
foreach (var val in (T[])Enum.GetValues(typeof(T)))
{
var field = typeof(T).GetField(Enum.GetName(typeof(T), val));
items.Add(