From 1cfc3f403346be85a1554641f214175e951c83d8 Mon Sep 17 00:00:00 2001 From: igorrCarvalho Date: Fri, 7 Jun 2024 19:43:27 -0300 Subject: [PATCH] Fix: Change Meta key to command for mac users --- .../pages/ShortcutsPage/EditShortcutButton/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx b/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx index e8c4ba3e7..3d01b4ac0 100644 --- a/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx +++ b/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx @@ -121,6 +121,9 @@ export default function EditShortcutButton({ if (e.key?.toLowerCase() === "control") { fixedKey = "Ctrl"; } + if (e.key?.toLowerCase() === "meta") { + fixedKey = "Command"; + } setKey((oldKey) => getFixedCombination({ oldKey: oldKey!, key: fixedKey }), ); @@ -152,7 +155,9 @@ export default function EditShortcutButton({ - +