mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Keyword Spacing and Brackets Fixing
This commit is contained in:
@ -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
|
||||
{
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user