mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-10-31 21:00:51 +01:00
fixed GetModifier being.. recursive
This commit is contained in:
parent
91730b1f27
commit
dca013e551
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ namespace MLEM.Input {
|
|||
|
||||
/// <inheritdoc cref="GetModifier(Microsoft.Xna.Framework.Input.Keys)"/>
|
||||
public static ModifierKey GetModifier(this GenericInput input) {
|
||||
return input.Type == GenericInput.InputType.Keyboard ? GetModifier(input) : ModifierKey.None;
|
||||
return input.Type == GenericInput.InputType.Keyboard ? GetModifier((Keys) input) : ModifierKey.None;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue