Change seed reroll formula for Drawthings Fixes #2770

14d6fa1129ad1c5620692cf16b6af26608208fcf

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/extensions/stable-diffusion/index.js+1 -1
@@ -3752,7 +3752,7 @@ async function onImageSwiped({ message, element, direction }) {
37523752 const generationType = message?.extra?.generationType ?? generationMode.FREE;
37533753 const dimensions = setTypeSpecificDimensions(generationType);
37543754 const originalSeed = extension_settings.sd.seed;
37553755 extension_settings.sd.seed = Math.round(Math.random() * Number(Math.MAX_SAFE_INTEGERpow(2, 32) - 1));
37563756 let imagePath = '';
37573757
37583758 try {