Integrate key binding config with main settings

This commit is contained in:
Dean Herbert
2017-08-16 19:17:42 +09:00
parent 7e21ddb5eb
commit 5ebec53970
5 changed files with 139 additions and 65 deletions

View File

@ -10,14 +10,15 @@ namespace osu.Game.Overlays.Settings.Sections.Input
{
protected override string Header => "Keyboard";
public KeyboardSettings()
public KeyboardSettings(KeyBindingOverlay keyConfig)
{
Children = new Drawable[]
{
new OsuButton
{
RelativeSizeAxes = Axes.X,
Text = "Key Configuration"
Text = "Key Configuration",
Action = () => keyConfig.ToggleVisibility()
},
};
}