Code review fixes

This commit is contained in:
Dean Herbert
2017-08-16 17:34:49 +09:00
parent 54698f2d8f
commit 3df51540e1
9 changed files with 18 additions and 22 deletions

View File

@ -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;
}
}
}

View File

@ -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;