mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Code review fixes
This commit is contained in:
23
osu.Game/Overlays/KeyBinding/GlobalKeyBindingsSection.cs
Normal file
23
osu.Game/Overlays/KeyBinding/GlobalKeyBindingsSection.cs
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Input.Bindings;
|
||||
using osu.Game.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.KeyBinding
|
||||
{
|
||||
public class GlobalKeyBindingsSection : KeyBindingsSection
|
||||
{
|
||||
private readonly string name;
|
||||
|
||||
public override FontAwesome Icon => FontAwesome.fa_osu_mod_nofail;
|
||||
public override string Header => name;
|
||||
|
||||
public GlobalKeyBindingsSection(KeyBindingInputManager manager, string name)
|
||||
{
|
||||
this.name = name;
|
||||
|
||||
Defaults = manager.DefaultKeyBindings;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user