mirror of
https://github.com/ppy/osu
synced 2025-01-23 22:33:05 +00:00
Fixing errors
This commit is contained in:
parent
9c2dca8229
commit
07a24d2747
@ -41,6 +41,12 @@ namespace osu.Game.Overlays.KeyBinding
|
||||
AutoSizeAxes = Axes.Y;
|
||||
Padding = new MarginPadding { Right = SettingsPanel.CONTENT_MARGINS };
|
||||
|
||||
KeyBindingRow = new KeyBindingRow(key, bindings.Where(b => ((int)b.Action).Equals((int)key)))
|
||||
{
|
||||
AllowMainMouseButtons = ruleset != null,
|
||||
Defaults = defaults
|
||||
};
|
||||
|
||||
InternalChildren = new Drawable[]
|
||||
{
|
||||
new RestoreDefaultValueButton<bool>
|
||||
@ -53,11 +59,7 @@ namespace osu.Game.Overlays.KeyBinding
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Padding = new MarginPadding { Left = SettingsPanel.CONTENT_MARGINS },
|
||||
Child = KeyBindingRow = new KeyBindingRow(key, bindings.Where(b => ((int)b.Action).Equals((int)key)))
|
||||
{
|
||||
AllowMainMouseButtons = ruleset != null,
|
||||
Defaults = defaults
|
||||
}
|
||||
Child = KeyBindingRow
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user