mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Ban alphanumeric keys
This commit is contained in:
parent
203705bda1
commit
3a8162be49
1 changed files with 3 additions and 1 deletions
|
|
@ -154,7 +154,9 @@ namespace Flow.Launcher.Infrastructure.Hotkey
|
|||
default:
|
||||
if (ModifierKeys == ModifierKeys.None)
|
||||
{
|
||||
return CharKey >= Key.F1 && CharKey <= Key.F24;
|
||||
return !((CharKey >= Key.A && CharKey <= Key.Z) ||
|
||||
(CharKey >= Key.D0 && CharKey <= Key.D9) ||
|
||||
(CharKey >= Key.NumPad0 && CharKey <= Key.NumPad9));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue