mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Group key bindings together
This commit is contained in:
@ -15,6 +15,7 @@ namespace osu.Game.Overlays.KeyBinding
|
||||
public GlobalKeyBindingsSection(GlobalActionContainer manager)
|
||||
{
|
||||
Add(new DefaultBindingsSubsection(manager));
|
||||
Add(new AudioControlKeyBindingsSubsection(manager));
|
||||
Add(new InGameKeyBindingsSubsection(manager));
|
||||
}
|
||||
|
||||
@ -39,5 +40,16 @@ namespace osu.Game.Overlays.KeyBinding
|
||||
Defaults = manager.InGameKeyBindings;
|
||||
}
|
||||
}
|
||||
|
||||
private class AudioControlKeyBindingsSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override string Header => "Audio";
|
||||
|
||||
public AudioControlKeyBindingsSubsection(GlobalActionContainer manager)
|
||||
: base(null)
|
||||
{
|
||||
Defaults = manager.AudioControlKeyBindings;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user