From 062b2cf46fca43e25ae203a3657f515712ffa4c9 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 31 May 2023 08:39:02 +1000 Subject: [PATCH] fix(ui): fix width and height not working on txt2img tab I missed a spot when working on the graph logic yesterday. --- .../nodes/util/graphBuilders/buildTextToImageGraph.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildTextToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildTextToImageGraph.ts index 737d8d5b61..753ccccff8 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildTextToImageGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/buildTextToImageGraph.ts @@ -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