mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-06 15:21:59 +08:00
Allows setting individual key as HotKey
This commit is contained in:
1 parent
f629bc9993
commit
ab9a617619
4 files changed
+248
-243
No files matched your search
@@ -120,8 +120,9 @@ namespace GrasscutterTools.Utils
|
||||
}
|
||||
}
|
||||
|
||||
if (keyModifiers == AppHotKey.KeyModifiers.None)
|
||||
throw new InvalidOperationException("功能键不能为空!");
|
||||
// 允许功能键为空
|
||||
//if (keyModifiers == AppHotKey.KeyModifiers.None)
|
||||
// throw new InvalidOperationException("功能键不能为空!");
|
||||
if (keyCode == Keys.None)
|
||||
throw new InvalidOperationException("快捷键不能为空!");
|
||||
|
||||
|
||||
Reference in new issue
Block a user