mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-22 20:09:46 +08:00
Allows setting individual key as HotKey
This commit is contained in:
@@ -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