1
0
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:
Alden Wu 2022-09-19 09:15:59 -07:00
parent 0316e3e706
commit 74056201e7
2 changed files with 1 additions and 15 deletions

View File

@ -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;

View File

@ -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);