mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Code review fixes
This commit is contained in:
@ -6,18 +6,18 @@ using osu.Game.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.KeyBinding
|
||||
{
|
||||
public class GlobalBindingsSection : KeyBindingsSection
|
||||
public class GlobalKeyBindingsSection : KeyBindingsSection
|
||||
{
|
||||
private readonly string name;
|
||||
|
||||
public override FontAwesome Icon => FontAwesome.fa_osu_mod_nofail;
|
||||
public override string Header => name;
|
||||
|
||||
public GlobalBindingsSection(KeyBindingInputManager manager, string name)
|
||||
public GlobalKeyBindingsSection(KeyBindingInputManager manager, string name)
|
||||
{
|
||||
this.name = name;
|
||||
|
||||
Defaults = manager.DefaultMappings;
|
||||
Defaults = manager.DefaultKeyBindings;
|
||||
}
|
||||
}
|
||||
}
|
@ -219,7 +219,8 @@ namespace osu.Game.Overlays.KeyBinding
|
||||
|
||||
Margin = new MarginPadding(padding);
|
||||
|
||||
//var isDefault = keyBinding.Action is Enum;
|
||||
// todo: use this in a meaningful way
|
||||
// var isDefault = keyBinding.Action is Enum;
|
||||
|
||||
Masking = true;
|
||||
CornerRadius = padding;
|
||||
|
Reference in New Issue
Block a user