Merge branch 'main' into mac

This commit is contained in:
Christopher Mesona
2025-06-09 22:16:15 +02:00
committed by Christopher Mesona
14 changed files with 77 additions and 47 deletions
+2 -2
View File
@@ -160,11 +160,11 @@ export function getModifierKey(): string {
}
}
export function getEmojiKey(): string {
export function getAltKey(): string {
const isMac = /Mac/.test(navigator.userAgent);
if (isMac) {
return "⌥"; // Option key
} else {
return "Ctrl";
return "Alt";
}
}