Change Restore and Upscale Hotkeys

Changed the hotkeys of Restore and Upscale from R and U to Shift R and Shift U. Users could accidentally press R and U to trigger these functions which can be annoying. Especially considering R is also a hotkey for Reset View in other tabs and it can become muscle memory.
This commit is contained in:
blessedcoolant 2022-12-13 14:58:50 +13:00
parent 1219c39d78
commit 2187d0f31c

View File

@ -256,7 +256,7 @@ const CurrentImageButtons = () => {
}; };
useHotkeys( useHotkeys(
'u', 'Shift+U',
() => { () => {
if ( if (
isESRGANAvailable && isESRGANAvailable &&
@ -290,7 +290,7 @@ const CurrentImageButtons = () => {
}; };
useHotkeys( useHotkeys(
'r', 'Shift+R',
() => { () => {
if ( if (
isGFPGANAvailable && isGFPGANAvailable &&