提交 066699c9 编写于 作者: R rebornix

always use 0 as unknown keycode

上级 69a37cd7
......@@ -94,7 +94,7 @@ export class KeybindingIO {
public static readKeybinding(input: string, OS: OperatingSystem): number {
if (!input) {
return null;
return 0;
}
input = input.toLowerCase().trim();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册