mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
This commit is contained in:
parent
04ed57a57a
commit
8720bc1a4d
2 changed files with 3 additions and 1 deletions
|
|
@ -124,7 +124,8 @@ const hotKey2Electron = (key) => {
|
|||
electronKey += "Alt+";
|
||||
}
|
||||
return electronKey + key.replace("⌘", "").replace("⇧", "").replace("⌥", "").replace("⌃", "")
|
||||
.replace("←", "Left").replace("→", "Right").replace("↑", "Up").replace("↓", "Down");
|
||||
.replace("←", "Left").replace("→", "Right").replace("↑", "Up").replace("↓", "Down").replace(" ", "Space")
|
||||
.replace("+", "Plus").replace("⇥", "Tab").replace("⌫", "Backspace").replace("⌦", "Delete").replace("↩", "Return");
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue