mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
linter for #15262
This commit is contained in:
parent
6d8b7ec188
commit
93c7b9d7fc
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue