fix(desktop): fix shortcut recorder

This commit is contained in:
wj-xiao
2026-01-13 16:03:26 +08:00
parent c10b5b499f
commit 3635d0cdf9

View File

@@ -115,7 +115,7 @@ export const Recorder = ({
}, [isFocused])
const formatKeyDisplay = (key: string, code: string): string => {
if (isModifier(key)) {
if (isModifier(code)) {
if (code.startsWith('Control')) {
return 'Ctrl'
}