fix(ui): control layers ignored in txt2img

This commit is contained in:
psychedelicious
2025-07-03 07:41:20 +10:00
parent e0d7fab524
commit f36d22f13c
13 changed files with 76 additions and 81 deletions

View File

@@ -49,7 +49,7 @@ const enqueueCanvas = async (store: AppStore, canvasManager: CanvasManager, prep
const base = model.base;
const generationMode = await canvasManager.compositor.getGenerationMode();
const graphBuilderArg: GraphBuilderArg = { generationMode, state, canvasManager };
const graphBuilderArg: GraphBuilderArg = { generationMode, state, manager: canvasManager };
switch (base) {
case 'sdxl':

View File

@@ -47,7 +47,7 @@ const enqueueGenerate = async (store: AppStore, prepend: boolean) => {
assert(model, 'No model found in state');
const base = model.base;
const graphBuilderArg: GraphBuilderArg = { generationMode: 'txt2img', state };
const graphBuilderArg: GraphBuilderArg = { generationMode: 'txt2img', state, manager: null };
switch (base) {
case 'sdxl':