mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
fix(KeyCounter): don't override Handle
This caused the Keyboard inputs to register twice, which is not what we want.
This commit is contained in:
parent
157bba7830
commit
df0633858c
@ -4,7 +4,6 @@
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Input.Events;
|
||||
|
||||
namespace osu.Game.Screens.Play
|
||||
{
|
||||
@ -68,8 +67,6 @@ namespace osu.Game.Screens.Play
|
||||
CountPresses--;
|
||||
}
|
||||
|
||||
protected override bool Handle(UIEvent e) => Trigger.TriggerEvent(e);
|
||||
|
||||
public abstract partial class InputTrigger : Component
|
||||
{
|
||||
private KeyCounter? target;
|
||||
|
Loading…
Reference in New Issue
Block a user