This commit is contained in:
AUTOMATIC1111 2024-03-17 07:02:31 +03:00
parent 6d8b7ec188
commit 93c7b9d7fc

View File

@ -509,7 +509,7 @@ onUiLoaded(async() => {
if (isModifierKey(e, hotkeysConfig.canvas_hotkey_zoom)) { if (isModifierKey(e, hotkeysConfig.canvas_hotkey_zoom)) {
e.preventDefault(); e.preventDefault();
if(hotkeysConfig.canvas_hotkey_zoom === "Alt"){ if (hotkeysConfig.canvas_hotkey_zoom === "Alt") {
interactedWithAltKey = true; interactedWithAltKey = true;
} }
@ -805,7 +805,7 @@ onUiLoaded(async() => {
if (isModifierKey(e, hotkeysConfig.canvas_hotkey_adjust)) { if (isModifierKey(e, hotkeysConfig.canvas_hotkey_adjust)) {
e.preventDefault(); e.preventDefault();
if(hotkeysConfig.canvas_hotkey_adjust === "Alt"){ if (hotkeysConfig.canvas_hotkey_adjust === "Alt") {
interactedWithAltKey = true; interactedWithAltKey = true;
} }