Commit 93c7b9d7 authored by AUTOMATIC1111's avatar AUTOMATIC1111

linter for #15262

parent 6d8b7ec1
...@@ -509,7 +509,7 @@ onUiLoaded(async() => { ...@@ -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() => { ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment