Honor modifiers in multitap detection

Fixes Issue #15577.
This commit is contained in:
Clément Bœsch
2019-03-24 18:38:40 +01:00
committed by Oliver Brakmann
parent 54d5afed57
commit 3b926d71b5
2 changed files with 8 additions and 8 deletions

View File

@@ -161,8 +161,8 @@ namespace OpenRA.Platforms.Default
KeyInputEvent.Down : KeyInputEvent.Up;
var tapCount = e.type == SDL.SDL_EventType.SDL_KEYDOWN ?
MultiTapDetection.DetectFromKeyboard(keyCode) :
MultiTapDetection.InfoFromKeyboard(keyCode);
MultiTapDetection.DetectFromKeyboard(keyCode, mods) :
MultiTapDetection.InfoFromKeyboard(keyCode, mods);
var keyEvent = new KeyInput
{