Vanessa 2022-09-10 21:34:44 +08:00
parent efffe304e0
commit 50527e4bc6

View file

@ -93,7 +93,7 @@ export const updateHotkeyTip = (hotkey: string) => {
".": ">", ".": ">",
})); }));
let keys = []; const keys = [];
if (hotkey.indexOf("⌘") > -1) keys.push(KEY_MAP.get("⌘")); if (hotkey.indexOf("⌘") > -1) keys.push(KEY_MAP.get("⌘"));
if (hotkey.indexOf("⇧") > -1) keys.push(KEY_MAP.get("⇧")); if (hotkey.indexOf("⇧") > -1) keys.push(KEY_MAP.get("⇧"));