1
0
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:
tsrk 2023-02-13 23:20:23 +00:00
parent 157bba7830
commit df0633858c
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

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