From a45b9089950603eee46a8a7c52001b6c4d3e1596 Mon Sep 17 00:00:00 2001 From: Victor Chelaru Date: Thu, 23 Nov 2023 13:27:59 -0700 Subject: [PATCH] Fixed bug on IsShiftDown - how did this last for so long?? --- Engines/FlatRedBallXNA/FlatRedBall/Input/Keyboard.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engines/FlatRedBallXNA/FlatRedBall/Input/Keyboard.cs b/Engines/FlatRedBallXNA/FlatRedBall/Input/Keyboard.cs index 9ab7f5209..cc4d0805d 100644 --- a/Engines/FlatRedBallXNA/FlatRedBall/Input/Keyboard.cs +++ b/Engines/FlatRedBallXNA/FlatRedBall/Input/Keyboard.cs @@ -44,7 +44,7 @@ public enum KeyAction public bool AutomaticallyPushEventsToInputReceiver { get; set; } = true; - public bool IsShiftDown => KeyDown(Keys.LeftShift) || KeyDown(Keys.LeftShift); + public bool IsShiftDown => KeyDown(Keys.LeftShift) || KeyDown(Keys.RightShift); public bool IsCtrlDown => KeyDown(Keys.LeftControl) || KeyDown(Keys.RightControl); public bool IsControlDown => IsCtrlDown; public bool IsAltDown => KeyDown(Keys.LeftAlt) || KeyDown(Keys.RightAlt);