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,
|
id: NOISE,
|
||||||
type: 'noise',
|
type: 'noise',
|
||||||
seed: seed,
|
seed: seed,
|
||||||
|
width,
|
||||||
|
height,
|
||||||
};
|
};
|
||||||
|
|
||||||
graph.nodes[NOISE] = noiseNode;
|
graph.nodes[NOISE] = noiseNode;
|
||||||
@ -147,6 +149,8 @@ export const buildTextToImageGraph = (state: RootState): Graph => {
|
|||||||
const noiseNode: NoiseInvocation = {
|
const noiseNode: NoiseInvocation = {
|
||||||
id: NOISE,
|
id: NOISE,
|
||||||
type: 'noise',
|
type: 'noise',
|
||||||
|
width,
|
||||||
|
height,
|
||||||
};
|
};
|
||||||
|
|
||||||
graph.nodes[RANDOM_INT] = randomIntNode;
|
graph.nodes[RANDOM_INT] = randomIntNode;
|
||||||
@ -193,6 +197,8 @@ export const buildTextToImageGraph = (state: RootState): Graph => {
|
|||||||
const noiseNode: NoiseInvocation = {
|
const noiseNode: NoiseInvocation = {
|
||||||
id: NOISE,
|
id: NOISE,
|
||||||
type: 'noise',
|
type: 'noise',
|
||||||
|
width,
|
||||||
|
height,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Adding to the graph
|
// Adding to the graph
|
||||||
|
Loading…
Reference in New Issue
Block a user