mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:42:54 +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.Bindables;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Input.Events;
|
|
||||||
|
|
||||||
namespace osu.Game.Screens.Play
|
namespace osu.Game.Screens.Play
|
||||||
{
|
{
|
||||||
@ -68,8 +67,6 @@ namespace osu.Game.Screens.Play
|
|||||||
CountPresses--;
|
CountPresses--;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool Handle(UIEvent e) => Trigger.TriggerEvent(e);
|
|
||||||
|
|
||||||
public abstract partial class InputTrigger : Component
|
public abstract partial class InputTrigger : Component
|
||||||
{
|
{
|
||||||
private KeyCounter? target;
|
private KeyCounter? target;
|
||||||
|
Loading…
Reference in New Issue
Block a user