1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 23:12:56 +08:00

Merge pull request #1268 from MrTheMake/keybindingrow-filter-terms

Removed unnecessary casting of KeyBindingRow.FilterTerms
This commit is contained in:
Dean Herbert 2017-09-14 21:01:50 +09:00 committed by GitHub
commit 742cd5db91

View File

@ -47,7 +47,7 @@ namespace osu.Game.Overlays.KeyBinding
private FillFlowContainer<KeyButton> buttons; private FillFlowContainer<KeyButton> buttons;
public IEnumerable<string> FilterTerms => new[] { text.Text }.Concat(bindings.Select(b => b.KeyCombination.ReadableString())).ToArray(); public IEnumerable<string> FilterTerms => new[] { text.Text }.Concat(bindings.Select(b => b.KeyCombination.ReadableString()));
public KeyBindingRow(object action, IEnumerable<Framework.Input.Bindings.KeyBinding> bindings) public KeyBindingRow(object action, IEnumerable<Framework.Input.Bindings.KeyBinding> bindings)
{ {