mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-31 02:32:57 +08:00
linter for #15262
This commit is contained in:
parent
6d8b7ec188
commit
93c7b9d7fc
@ -509,7 +509,7 @@ onUiLoaded(async() => {
|
||||
if (isModifierKey(e, hotkeysConfig.canvas_hotkey_zoom)) {
|
||||
e.preventDefault();
|
||||
|
||||
if(hotkeysConfig.canvas_hotkey_zoom === "Alt"){
|
||||
if (hotkeysConfig.canvas_hotkey_zoom === "Alt") {
|
||||
interactedWithAltKey = true;
|
||||
}
|
||||
|
||||
@ -805,7 +805,7 @@ onUiLoaded(async() => {
|
||||
if (isModifierKey(e, hotkeysConfig.canvas_hotkey_adjust)) {
|
||||
e.preventDefault();
|
||||
|
||||
if(hotkeysConfig.canvas_hotkey_adjust === "Alt"){
|
||||
if (hotkeysConfig.canvas_hotkey_adjust === "Alt") {
|
||||
interactedWithAltKey = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user