Skip to content

Commit 3635d0c

Browse files
committed
fix(desktop): fix shortcut recorder
1 parent c10b5b4 commit 3635d0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • desktop/src/renderer/src/components/menu/keyboard/shortcuts

desktop/src/renderer/src/components/menu/keyboard/shortcuts/recorder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const Recorder = ({
115115
}, [isFocused])
116116

117117
const formatKeyDisplay = (key: string, code: string): string => {
118-
if (isModifier(key)) {
118+
if (isModifier(code)) {
119119
if (code.startsWith('Control')) {
120120
return 'Ctrl'
121121
}

0 commit comments

Comments
 (0)