Fix keyboard shortcut modifiers for Mac users

fix for https://github.com/SableClient/Sable/security/code-scanning/1
This commit is contained in:
Rose authored and GitHub committed 2026-03-30 06:37:55 +02:00
1 parent 63afb74a48
commit 7213aff4fc
1 file changed
+1 -2
@@ -23,8 +23,7 @@ function formatKey(key: string): string {
return key
.replace(/\bmod\b/g, isMac ? '⌘' : 'Ctrl')
.replace(/\balt\b/gi, isMac ? '⌥' : 'Alt')
.replace(/\bshift\b/gi, '⇧')
.replace(/\+/g, '+');
.replace(/\bshift\b/gi, '⇧');
}
const SHORTCUT_CATEGORIES: ShortcutCategory[] = [