fixes hrfix x/y calcs on non-square reticles
This commit is contained in:
parent
77f40a7928
commit
c9a768d406
2 changed files with 5 additions and 1 deletions
|
@ -348,7 +348,7 @@
|
||||||
src="js/ui/tool/generic.js?v=2bcd36d"
|
src="js/ui/tool/generic.js?v=2bcd36d"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
|
|
||||||
<script src="js/ui/tool/dream.js?v=230e42e" type="text/javascript"></script>
|
<script src="js/ui/tool/dream.js?v=2b099b5" type="text/javascript"></script>
|
||||||
<script
|
<script
|
||||||
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
|
|
|
@ -1346,6 +1346,10 @@ const dreamTool = () =>
|
||||||
h: stableDiffusionData.height,
|
h: stableDiffusionData.height,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//hacky set non-square auto hrfix values
|
||||||
|
stableDiffusionData.firstphase_height = resolution.h / 2;
|
||||||
|
stableDiffusionData.firstphase_width = resolution.w / 2;
|
||||||
|
|
||||||
if (global.connection === "online") {
|
if (global.connection === "online") {
|
||||||
dream_generate_callback(bb, resolution, state);
|
dream_generate_callback(bb, resolution, state);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue