Skip to content

Commit

Permalink
Added X key to drag canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolique committed Feb 27, 2024
1 parent f0b7979 commit cf89a6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Game/GameRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,8 @@ private RectangleF ComputeAABB() {
ICondition _dragCamera =
new AnyCondition(
new MouseCondition(MouseButton.RightButton),
new MouseCondition(MouseButton.MiddleButton)
new MouseCondition(MouseButton.MiddleButton),
new KeyboardCondition(Keys.X)
);

ICondition _toggleDebug = new KeyboardCondition(Keys.F1);
Expand Down

0 comments on commit cf89a6d

Please sign in to comment.