mirror of
https://github.com/sipeed/NanoKVM-USB.git
synced 2026-09-11 05:59:57 -05:00
fix(desktop): fix shortcut recorder
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user