1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Make KeyBindingContainer public

This commit is contained in:
pikokr 2021-12-28 22:43:07 +09:00
parent 9ed7139582
commit dec1f31749
3 changed files with 2 additions and 7 deletions

View File

@ -13,11 +13,6 @@ namespace osu.Game.Rulesets.Mania
: base(ruleset, variant, SimultaneousBindingMode.Unique)
{
}
public RulesetKeyBindingContainer GetKeyBindingContainer()
{
return (RulesetKeyBindingContainer)KeyBindingContainer;
}
}
public enum ManiaAction

View File

@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Mania.UI.Components
private ManiaInputManager.RulesetKeyBindingContainer getKeyBindingContainer()
{
return keyBindingContainer ??= ((ManiaInputManager)GetContainingInputManager()).GetKeyBindingContainer();
return keyBindingContainer ??= (ManiaInputManager.RulesetKeyBindingContainer)((ManiaInputManager)GetContainingInputManager()).KeyBindingContainer;
}
protected override bool OnTouchDown(TouchDownEvent e)

View File

@ -43,7 +43,7 @@ namespace osu.Game.Rulesets.UI
protected override InputState CreateInitialState() => new RulesetInputManagerInputState<T>(base.CreateInitialState());
protected readonly KeyBindingContainer<T> KeyBindingContainer;
public readonly KeyBindingContainer<T> KeyBindingContainer;
protected override Container<Drawable> Content => content;