1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 01:42:54 +08:00

Replace local namespace qualifiers with using

This commit is contained in:
Dean Herbert 2021-05-26 17:07:24 +09:00
parent f8a3a37797
commit 49b4a6ea67

View File

@ -6,6 +6,7 @@ using System.Linq;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Bindings; using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
using osu.Game.Rulesets; using osu.Game.Rulesets;
namespace osu.Game.Overlays.KeyBinding namespace osu.Game.Overlays.KeyBinding
@ -13,7 +14,7 @@ namespace osu.Game.Overlays.KeyBinding
public class RestorableKeyBindingRow : Container, IFilterable public class RestorableKeyBindingRow : Container, IFilterable
{ {
private readonly object key; private readonly object key;
private readonly ICollection<Input.Bindings.DatabasedKeyBinding> bindings; private readonly ICollection<DatabasedKeyBinding> bindings;
public readonly KeyBindingRow KeyBindingRow; public readonly KeyBindingRow KeyBindingRow;
private bool matchingFilter; private bool matchingFilter;
@ -32,7 +33,7 @@ namespace osu.Game.Overlays.KeyBinding
public IEnumerable<string> FilterTerms => bindings.Select(b => b.KeyCombination.ReadableString()).Prepend(key.ToString()); public IEnumerable<string> FilterTerms => bindings.Select(b => b.KeyCombination.ReadableString()).Prepend(key.ToString());
public RestorableKeyBindingRow(object key, ICollection<Input.Bindings.DatabasedKeyBinding> bindings, RulesetInfo ruleset, IEnumerable<KeyCombination> defaults) public RestorableKeyBindingRow(object key, ICollection<DatabasedKeyBinding> bindings, RulesetInfo ruleset, IEnumerable<KeyCombination> defaults)
{ {
this.key = key; this.key = key;
this.bindings = bindings; this.bindings = bindings;