mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
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:
parent
877959b413
commit
062b2cf46f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user