parent
642b409c0f
commit
14d6fa1129
|
@ -3752,7 +3752,7 @@ async function onImageSwiped({ message, element, direction }) {
|
||||||
const generationType = message?.extra?.generationType ?? generationMode.FREE;
|
const generationType = message?.extra?.generationType ?? generationMode.FREE;
|
||||||
const dimensions = setTypeSpecificDimensions(generationType);
|
const dimensions = setTypeSpecificDimensions(generationType);
|
||||||
const originalSeed = extension_settings.sd.seed;
|
const originalSeed = extension_settings.sd.seed;
|
||||||
extension_settings.sd.seed = Math.round(Math.random() * Number.MAX_SAFE_INTEGER);
|
extension_settings.sd.seed = Math.round(Math.random() * (Math.pow(2, 32) - 1));
|
||||||
let imagePath = '';
|
let imagePath = '';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue