mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 13:19:54 +00:00
linter for #15262
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user