Skip to content

Commit

Permalink
Fix confusion between VK_PAUSE and VK_SCROLL (addresses #321)
Browse files Browse the repository at this point in the history
  • Loading branch information
samhocevar committed Sep 2, 2021
1 parent c7e95ac commit cd81b47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wincompose/KeyboardLeds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private static void DisableTimer()
{
{ VK.CAPITAL, KEYBOARD.CAPS_LOCK_ON },
{ VK.NUMLOCK, KEYBOARD.NUM_LOCK_ON },
{ VK.PAUSE, KEYBOARD.SCROLL_LOCK_ON },
{ VK.SCROLL, KEYBOARD.SCROLL_LOCK_ON },
};

private static void Refresh(object o)
Expand Down
2 changes: 1 addition & 1 deletion src/wincompose/settings/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static string Version
new Key(VK.COMPOSE),
new Key(VK.CAPITAL),
new Key(VK.NUMLOCK),
new Key(VK.PAUSE),
new Key(VK.SCROLL),
};

public static void StartWatchConfigFile()
Expand Down

0 comments on commit cd81b47

Please sign in to comment.