feat:support mac os shortcut
This commit is contained in:
@@ -4,8 +4,10 @@ import { KeyMap } from '../../dataset/enum/KeyMap'
|
||||
export interface IRegisterShortcut {
|
||||
key: KeyMap;
|
||||
ctrl?: boolean;
|
||||
meta?: boolean;
|
||||
mod?: boolean; // windows:ctrl || mac:command
|
||||
shift?: boolean;
|
||||
alt?: boolean;
|
||||
alt?: boolean; // windows:alt || mac:option
|
||||
isGlobal?: boolean;
|
||||
callback: (command: Command) => any;
|
||||
}
|
||||
Reference in New Issue
Block a user