Skip to content

Commit

Permalink
fix: 修复快捷键设置导致的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
moshangqi committed Oct 25, 2023
1 parent f314da9 commit 70e0f23
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/isomorphic/shortcut.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import Keymaster from 'keymaster';
import { invert } from 'lodash';

Keymaster
export enum PlatformEnum {
macOS = 'macOs',
windows = 'windows',
Expand Down Expand Up @@ -73,7 +71,6 @@ class Shortcut {
private shortcutSep = '+';
private shortcutToKeyboard: any;
constructor(options: IShortcutOptions) {
console.log(options, '我啥哈哈')
const { platform } = options;
this.eventKeyToKeyboard = EVENTKEY_TO_KEYBOARD[platform];
// 键盘按钮快捷键的映射
Expand Down

0 comments on commit 70e0f23

Please sign in to comment.