mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Forward entire event to IModHotkeyHandler
Required for shift handling in the classic implementation.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using osuTK.Input;
|
||||
using osu.Framework.Input.Events;
|
||||
|
||||
namespace osu.Game.Overlays.Mods.Input
|
||||
{
|
||||
@ -12,6 +12,6 @@ namespace osu.Game.Overlays.Mods.Input
|
||||
/// </summary>
|
||||
public class NoopModHotkeyHandler : IModHotkeyHandler
|
||||
{
|
||||
public bool HandleHotkeyPressed(Key hotkey, IEnumerable<ModState> availableMods) => false;
|
||||
public bool HandleHotkeyPressed(KeyDownEvent e, IEnumerable<ModState> availableMods) => false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user