small ui fix

In the error the user will see R instead of KeyR
This commit is contained in:
Danil Boldyrev 2023-06-03 02:24:57 +03:00
parent 1e0ab4015d
commit 5b682be59a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function createHotkeyConfig(defaultHotkeysConfig, hotkeysConfigOpts) {
} else { } else {
// If the property does not pass the test or has already been used, we keep the default value // If the property does not pass the test or has already been used, we keep the default value
console.error( console.error(
`Hotkey: ${hotkeysConfigOpts[key]} for ${key} is repeated and conflicts with another hotkey or is not 1 letter. The default hotkey is used: ${defaultHotkeysConfig[key]}` `Hotkey: ${hotkeysConfigOpts[key]} for ${key} is repeated and conflicts with another hotkey or is not 1 letter. The default hotkey is used: ${defaultHotkeysConfig[key][3]}`
); );
result[key] = defaultHotkeysConfig[key]; result[key] = defaultHotkeysConfig[key];
} }