mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user