feat: add shortcut disable option

This commit is contained in:
Hufe921
2023-08-29 22:12:48 +08:00
parent 7b07cf3eb4
commit 640f26292f
4 changed files with 13 additions and 8 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ instance.register.shortcutList([
shift?: boolean;
alt?: boolean;
isGlobal?: boolean;
callback: (command: Command) => any;
callback?: (command: Command) => any;
disable?: boolean;
}
])
```
+2 -1
View File
@@ -15,7 +15,8 @@ instance.register.shortcutList([
shift?: boolean;
alt?: boolean;
isGlobal?: boolean;
callback: (command: Command) => any;
callback?: (command: Command) => any;
disable?: boolean;
}
])
```