mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Return smoke key to key overlay
This commit is contained in:
parent
0316e3e706
commit
74056201e7
@ -57,20 +57,6 @@ namespace osu.Game.Rulesets.Osu
|
||||
return base.HandleMouseTouchStateChange(e);
|
||||
}
|
||||
|
||||
public override void Attach(KeyCounterDisplay keyCounter)
|
||||
{
|
||||
var receptor = new ActionReceptor(keyCounter);
|
||||
|
||||
KeyBindingContainer.Add(receptor);
|
||||
|
||||
keyCounter.SetReceptor(receptor);
|
||||
keyCounter.AddRange(new[]
|
||||
{
|
||||
new KeyCounterAction<OsuAction>(OsuAction.LeftButton),
|
||||
new KeyCounterAction<OsuAction>(OsuAction.RightButton),
|
||||
});
|
||||
}
|
||||
|
||||
private class OsuKeyBindingContainer : RulesetKeyBindingContainer
|
||||
{
|
||||
public bool AllowUserPresses = true;
|
||||
|
@ -155,7 +155,7 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
#region Key Counter Attachment
|
||||
|
||||
public virtual void Attach(KeyCounterDisplay keyCounter)
|
||||
public void Attach(KeyCounterDisplay keyCounter)
|
||||
{
|
||||
var receptor = new ActionReceptor(keyCounter);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user