Skip to content

Commit

Permalink
Fixed bug on IsShiftDown - how did this last for so long??
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Nov 23, 2023
1 parent db029d6 commit a45b908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engines/FlatRedBallXNA/FlatRedBall/Input/Keyboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a45b908

Please sign in to comment.