mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 15:04:07 +01:00
This commit is contained in:
parent
e18e9c2750
commit
c14fc344c6
6 changed files with 13 additions and 12 deletions
|
|
@ -75,7 +75,8 @@ export const updateHotkeyTip = (hotkey: string) => {
|
|||
}
|
||||
hotkey = hotkey.replace("⌘", "Ctrl").replace("⇧", "Shift")
|
||||
.replace("⌥", "Alt").replace("⇥", "Tab")
|
||||
.replace("⌫", "Backspace").replace("⌦", "Delete");
|
||||
.replace("⌫", "Backspace").replace("⌦", "Delete")
|
||||
.replace("↩", "Enter");
|
||||
if (hotkey.indexOf("Shift") > -1) {
|
||||
hotkey = hotkey.replace(";", ":").replace("=", "+").replace("-", "_").replace(".", ">");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue