Prettified Code!
This commit is contained in:
parent
b8f64d43ec
commit
7de3a268e9
3 changed files with 15 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
|
|
@ -1841,8 +1841,8 @@ const dreamTool = () =>
|
|||
state.cursorSize > stableDiffusionData.width
|
||||
? "#FBB5"
|
||||
: state.cursorSize < stableDiffusionData.width
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
|
||||
state.erasePrevReticle = _tool._reticle_draw(
|
||||
bb,
|
||||
|
@ -1869,8 +1869,8 @@ const dreamTool = () =>
|
|||
state.cursorSize > stableDiffusionData.width
|
||||
? "#FBB5"
|
||||
: state.cursorSize < stableDiffusionData.width
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
state.erasePrevReticle = _tool._reticle_draw(
|
||||
getBoundingBox(
|
||||
evn.x,
|
||||
|
@ -2198,7 +2198,6 @@ const dreamTool = () =>
|
|||
state.ctxmenu.carveBlurSlider.classList.add("invisible");
|
||||
state.ctxmenu.carveThresholdSlider.classList.add("invisible");
|
||||
}
|
||||
|
||||
},
|
||||
shortcut: "D",
|
||||
}
|
||||
|
@ -2386,8 +2385,8 @@ const img2imgTool = () =>
|
|||
state.cursorSize > stableDiffusionData.width
|
||||
? "#FBB5"
|
||||
: state.cursorSize < stableDiffusionData.width
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
state.erasePrevReticle = _tool._reticle_draw(
|
||||
bb,
|
||||
"Img2Img",
|
||||
|
@ -2424,8 +2423,8 @@ const img2imgTool = () =>
|
|||
state.cursorSize > stableDiffusionData.width
|
||||
? "#FBB5"
|
||||
: state.cursorSize < stableDiffusionData.width
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
? "#BFB5"
|
||||
: "#FFF5";
|
||||
state.erasePrevReticle = _tool._reticle_draw(
|
||||
bb,
|
||||
"Img2Img",
|
||||
|
@ -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",
|
||||
}
|
||||
|
|
|
@ -258,7 +258,7 @@
|
|||
? true
|
||||
: localStorage.getItem(
|
||||
"openoutpaint/settings.update-prompt-on-more-button"
|
||||
) === "true";
|
||||
) === "true";
|
||||
updatePromptOnMoreButton.checked = _enable_update_prompt_on_more_button;
|
||||
|
||||
let _enable_jump_to_1st_new_on_more_button =
|
||||
|
@ -268,7 +268,7 @@
|
|||
? true
|
||||
: localStorage.getItem(
|
||||
"openoutpaint/settings.jump-to-1st-new-on-more-button"
|
||||
) === "true";
|
||||
) === "true";
|
||||
jumpTo1stNewOnMoreButton.checked = _enable_jump_to_1st_new_on_more_button;
|
||||
|
||||
writeToLocalStorage();
|
||||
|
|
Loading…
Reference in a new issue