This commit is contained in:
parent
344d49b1a8
commit
ccb51eadd0
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ const hotKey2Electron = (key) => {
|
|||
if (key.indexOf("⌥") > -1) {
|
||||
electronKey += "Alt+";
|
||||
}
|
||||
return electronKey + key.substr(key.length - 1);
|
||||
return electronKey + key.replace("⌘", "").replace("⇧", "").replace("⌥", "");
|
||||
};
|
||||
|
||||
const exitApp = (port, errorWindowId) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue