From 9e03d8f2c5cc061c6f8c5611d29c5f1cf3664a65 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Mon, 31 Jul 2023 17:01:08 -0400 Subject: [PATCH] change Export keybinding to Alt-P --- Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 4fc2eb3..ab0df1d 100644 --- a/Program.cs +++ b/Program.cs @@ -623,6 +623,7 @@ public class Game : GameWindow { KeyboardState input = KeyboardState; bool shiftIsDown = input.IsKeyDown(Keys.LeftShift) || input.IsKeyDown(Keys.RightShift); + bool altIsDown = input.IsKeyDown(Keys.LeftAlt) || input.IsKeyDown(Keys.RightAlt); bool ctrlIsDown = input.IsKeyDown(Keys.LeftControl) || input.IsKeyDown(Keys.RightControl); // FIXME: add a confirm dialog before closing. (Also for the window-close button.) @@ -690,7 +691,7 @@ public class Game : GameWindow { photoIndex -= 5; } - if (input.IsKeyPressed(Keys.P) && shiftIsDown) { + if (input.IsKeyPressed(Keys.P) && altIsDown) { ExportPhotos(); }