diff options
author | Danil Boldyrev <daswerq123@gmail.com> | 2023-06-02 23:24:57 +0000 |
---|---|---|
committer | Danil Boldyrev <daswerq123@gmail.com> | 2023-06-02 23:24:57 +0000 |
commit | 5b682be59a64c3ca8c7d2ad0987d8d65f3cbd8a8 (patch) | |
tree | 8b0aea11920b7533a6c699afc862ae8a973bd4c8 /extensions-builtin | |
parent | 1e0ab4015dbda84eb8b795714cba5b96d674f18c (diff) | |
download | stable-diffusion-webui-gfx803-5b682be59a64c3ca8c7d2ad0987d8d65f3cbd8a8.tar.gz stable-diffusion-webui-gfx803-5b682be59a64c3ca8c7d2ad0987d8d65f3cbd8a8.tar.bz2 stable-diffusion-webui-gfx803-5b682be59a64c3ca8c7d2ad0987d8d65f3cbd8a8.zip |
small ui fix
In the error the user will see R instead of KeyR
Diffstat (limited to 'extensions-builtin')
-rw-r--r-- | extensions-builtin/canvas-zoom-and-pan/javascript/zoom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions-builtin/canvas-zoom-and-pan/javascript/zoom.js b/extensions-builtin/canvas-zoom-and-pan/javascript/zoom.js index 8501a24b..41d9ddf4 100644 --- a/extensions-builtin/canvas-zoom-and-pan/javascript/zoom.js +++ b/extensions-builtin/canvas-zoom-and-pan/javascript/zoom.js @@ -54,7 +54,7 @@ function createHotkeyConfig(defaultHotkeysConfig, hotkeysConfigOpts) { } else { // If the property does not pass the test or has already been used, we keep the default value 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]; } |