mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Make method and property name to match class name
This commit is contained in:
parent
d629305002
commit
59b4aea5f9
@ -136,22 +136,22 @@ namespace osu.Game.Rulesets.Mania.UI
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
private ManiaInputManager.RulesetKeyBindingContainer keyBindingContainer { get; set; }
|
private ManiaInputManager.RulesetKeyBindingContainer rulesetKeyBindingContainer { get; set; }
|
||||||
|
|
||||||
private ManiaInputManager.RulesetKeyBindingContainer getKeyBindingManager()
|
private ManiaInputManager.RulesetKeyBindingContainer getRulesetKeyBindingContainer()
|
||||||
{
|
{
|
||||||
return keyBindingContainer ??= ((ManiaInputManager)GetContainingInputManager()).GetKeyBindingContainer();
|
return rulesetKeyBindingContainer ??= ((ManiaInputManager)GetContainingInputManager()).GetKeyBindingContainer();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool OnTouchDown(TouchDownEvent e)
|
protected override bool OnTouchDown(TouchDownEvent e)
|
||||||
{
|
{
|
||||||
getKeyBindingManager().TriggerPressed(Action.Value);
|
getRulesetKeyBindingContainer().TriggerPressed(Action.Value);
|
||||||
return base.OnTouchDown(e);
|
return base.OnTouchDown(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnTouchUp(TouchUpEvent e)
|
protected override void OnTouchUp(TouchUpEvent e)
|
||||||
{
|
{
|
||||||
getKeyBindingManager().TriggerReleased(Action.Value);
|
getRulesetKeyBindingContainer().TriggerReleased(Action.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
|
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
|
||||||
|
Loading…
Reference in New Issue
Block a user