monitor mode: combination keys not supported

This commit is contained in:
huiyadanli
2024-02-10 22:34:56 +08:00
parent aa9f1cb8d9
commit fe9b028bb2

View File

@@ -95,6 +95,12 @@ public partial class HotKeySettingModel : ObservableObject
}
else
{
// 如果是组合键,不支持
if (HotKey.Modifiers != ModifierKeys.None)
{
HotKey = HotKey.None;
return;
}
KeyboardMonitorHook = new KeyboardHook
{
IsHold = IsHold