fix(ui): fix width and height not working on txt2img tab

I missed a spot when working on the graph logic yesterday.
This commit is contained in:
psychedelicious 2023-05-31 08:39:02 +10:00 committed by Kent Keirsey
parent 877959b413
commit 062b2cf46f

View File

@ -121,6 +121,8 @@ export const buildTextToImageGraph = (state: RootState): Graph => {
id: NOISE,
type: 'noise',
seed: seed,
width,
height,
};
graph.nodes[NOISE] = noiseNode;
@ -147,6 +149,8 @@ export const buildTextToImageGraph = (state: RootState): Graph => {
const noiseNode: NoiseInvocation = {
id: NOISE,
type: 'noise',
width,
height,
};
graph.nodes[RANDOM_INT] = randomIntNode;
@ -193,6 +197,8 @@ export const buildTextToImageGraph = (state: RootState): Graph => {
const noiseNode: NoiseInvocation = {
id: NOISE,
type: 'noise',
width,
height,
};
// Adding to the graph