mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
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) {
|
if (key.indexOf("⌥") > -1) {
|
||||||
electronKey += "Alt+";
|
electronKey += "Alt+";
|
||||||
}
|
}
|
||||||
return electronKey + key.substr(key.length - 1);
|
return electronKey + key.replace("⌘", "").replace("⇧", "").replace("⌥", "");
|
||||||
};
|
};
|
||||||
|
|
||||||
const exitApp = (port, errorWindowId) => {
|
const exitApp = (port, errorWindowId) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue