tiny changes

This commit is contained in:
tim h 2023-02-18 21:45:04 -06:00
parent 0e63efc847
commit 86c2fbca05
3 changed files with 9 additions and 3 deletions

View file

@ -451,7 +451,7 @@
<!-- Content -->
<script src="js/prompt.js?v=7a1c68c" type="text/javascript"></script>
<script src="js/index.js?v=017d927" type="text/javascript"></script>
<script src="js/index.js?v=c9b95ae" type="text/javascript"></script>
<script
src="js/ui/floating/history.js?v=4f29db4"
@ -465,7 +465,7 @@
src="js/ui/tool/generic.js?v=3e678e0"
type="text/javascript"></script>
<script src="js/ui/tool/dream.js?v=022cb3a" type="text/javascript"></script>
<script src="js/ui/tool/dream.js?v=23d3fcf" type="text/javascript"></script>
<script
src="js/ui/tool/maskbrush.js?v=d88810f"
type="text/javascript"></script>

View file

@ -1428,7 +1428,7 @@ function changeScript(evt) {
switch (selected) {
case "custom": {
scriptName.value = "";
scriptArgs.value = "";
scriptArgs.value = "[]";
scriptArgs.title = "";
enable();
break;

View file

@ -1450,6 +1450,9 @@ const dreamTool = () =>
state.preserveMasks = false;
state.eagerGenerateCount = 0;
state.carve_blur = 0;
state.carve_threshold = 10;
state.erasePrevCursor = () =>
uiCtx.clearRect(0, 0, uiCanvas.width, uiCanvas.height);
state.erasePrevReticle = () =>
@ -1942,6 +1945,9 @@ const img2imgTool = () =>
state.keepBorderSize = 64;
state.gradient = true;
state.carve_blur = 0;
state.carve_threshold = 10;
state.erasePrevCursor = () =>
uiCtx.clearRect(0, 0, uiCanvas.width, uiCanvas.height);
state.erasePrevReticle = () =>