mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-12 03:50:06 +02:00
Add more shortcuts and minor refactor (#1347)
This commit is contained in:
@@ -162,7 +162,8 @@ export const getShortcutKey = (shortcut: string): string => {
|
||||
.replace("Alt+", "⌥")
|
||||
.replace("Ctrl+", "⌃")
|
||||
.replace("Shift+", "⇧")
|
||||
.replace("Del", "⌫")}`;
|
||||
.replace("Del", "⌫")
|
||||
.replace("Enter", "Return")}`;
|
||||
}
|
||||
return `${shortcut.replace("CtrlOrCmd", "Ctrl")}`;
|
||||
};
|
||||
|
Reference in New Issue
Block a user