Switch end for scroll lock

This commit is contained in:
2025-05-15 07:45:25 +02:00
parent 740d3d8b01
commit 50f7c777b3

View File

@@ -217,7 +217,7 @@ internal static class Program {
} }
long delLast = 0; long delLast = 0;
HotKeyManager.RegisterHotKey(Keys.End, KeyModifiers.NoRepeat); HotKeyManager.RegisterHotKey(Keys.Scroll, KeyModifiers.NoRepeat);
// Register main number keys (0-9) // Register main number keys (0-9)
for (int i = 0; i < 10; i++) for (int i = 0; i < 10; i++)
HotKeyManager.RegisterHotKey(Keys.D0 + i, KeyModifiers.Alt); HotKeyManager.RegisterHotKey(Keys.D0 + i, KeyModifiers.Alt);
@@ -236,7 +236,7 @@ internal static class Program {
} }
long now = DateTimeOffset.UtcNow.ToUnixTimeSeconds(); long now = DateTimeOffset.UtcNow.ToUnixTimeSeconds();
if (e.Key == Keys.End) if (e.Key == Keys.Scroll)
delLast = now; delLast = now;
int index; int index;