Prettified Code!

This commit is contained in:
zero01101 2023-12-16 12:36:07 +00:00 committed by GitHub Action
parent b8f64d43ec
commit 7de3a268e9
3 changed files with 15 additions and 15 deletions

View file

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />

View file

@ -2198,7 +2198,6 @@ const dreamTool = () =>
state.ctxmenu.carveBlurSlider.classList.add("invisible");
state.ctxmenu.carveThresholdSlider.classList.add("invisible");
}
},
shortcut: "D",
}
@ -2864,7 +2863,9 @@ const img2imgTool = () =>
menu.appendChild(state.ctxmenu.borderMaskSlider);
menu.appendChild(state.ctxmenu.eagerGenerateCountLabel);
if (localStorage.getItem("openoutpaint/img2img-keepunmasked") == "true") {
if (
localStorage.getItem("openoutpaint/img2img-keepunmasked") == "true"
) {
state.ctxmenu.keepUnmaskedBlurSlider.classList.remove("invisible");
} else {
state.ctxmenu.keepUnmaskedBlurSlider.classList.add("invisible");
@ -2877,7 +2878,6 @@ const img2imgTool = () =>
state.ctxmenu.carveBlurSlider.classList.add("invisible");
state.ctxmenu.carveThresholdSlider.classList.add("invisible");
}
},
shortcut: "I",
}