diff --git a/index.html b/index.html index 13813fb..5abdeda 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index c3268bb..7938e0b 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -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, @@ -2184,7 +2184,7 @@ const dreamTool = () => menu.appendChild(state.ctxmenu.outpaintTypeSelect); menu.appendChild(state.ctxmenu.overMaskPxLabel); menu.appendChild(state.ctxmenu.eagerGenerateCountLabel); - + if (localStorage.getItem("openoutpaint/dream-keepunmasked") == "true") { state.ctxmenu.keepUnmaskedBlurSlider.classList.remove("invisible"); } else { @@ -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", } diff --git a/pages/configuration.html b/pages/configuration.html index b7fe62a..2802982 100644 --- a/pages/configuration.html +++ b/pages/configuration.html @@ -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();