Skip to content

Commit

Permalink
fix control and alt being always on for hotkeys; disable ime for hotk…
Browse files Browse the repository at this point in the history
…ey input boxes
  • Loading branch information
geovens committed Oct 19, 2019
1 parent 8169616 commit 1d5e080
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Hotkey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public bool Parse(string para)
}
else if (para.Length >= 1)
{
Control = false;
Alt = false;
Shift = false;
Win = false;
Keys key = (Keys)para[para.Length - 1];
if (IsValidKey(key))
{
Expand Down
2 changes: 2 additions & 0 deletions src/HotkeyInputBox.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d5e080

Please sign in to comment.