mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): CanvasPasteBack types
This commit is contained in:
parent
2367f53367
commit
8f9e3ac795
@ -1,8 +1,8 @@
|
|||||||
import { logger } from 'app/logging/logger';
|
import { logger } from 'app/logging/logger';
|
||||||
import type { RootState } from 'app/store/store';
|
import type { RootState } from 'app/store/store';
|
||||||
import type {
|
import type {
|
||||||
|
CanvasPasteBackInvocation,
|
||||||
CreateGradientMaskInvocation,
|
CreateGradientMaskInvocation,
|
||||||
IAICanvasPasteBackInvocation,
|
|
||||||
ImageDTO,
|
ImageDTO,
|
||||||
ImageToLatentsInvocation,
|
ImageToLatentsInvocation,
|
||||||
NoiseInvocation,
|
NoiseInvocation,
|
||||||
@ -391,7 +391,7 @@ export const buildCanvasInpaintGraph = (
|
|||||||
|
|
||||||
// Paste Back
|
// Paste Back
|
||||||
graph.nodes[CANVAS_OUTPUT] = {
|
graph.nodes[CANVAS_OUTPUT] = {
|
||||||
...(graph.nodes[CANVAS_OUTPUT] as IAICanvasPasteBackInvocation),
|
...(graph.nodes[CANVAS_OUTPUT] as CanvasPasteBackInvocation),
|
||||||
mask: canvasMaskImage,
|
mask: canvasMaskImage,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { logger } from 'app/logging/logger';
|
import { logger } from 'app/logging/logger';
|
||||||
import type { RootState } from 'app/store/store';
|
import type { RootState } from 'app/store/store';
|
||||||
import type {
|
import type {
|
||||||
|
CanvasPasteBackInvocation,
|
||||||
CreateGradientMaskInvocation,
|
CreateGradientMaskInvocation,
|
||||||
IAICanvasPasteBackInvocation,
|
|
||||||
ImageDTO,
|
ImageDTO,
|
||||||
ImageToLatentsInvocation,
|
ImageToLatentsInvocation,
|
||||||
NoiseInvocation,
|
NoiseInvocation,
|
||||||
@ -401,7 +401,7 @@ export const buildCanvasSDXLInpaintGraph = (
|
|||||||
|
|
||||||
// Paste Back
|
// Paste Back
|
||||||
graph.nodes[CANVAS_OUTPUT] = {
|
graph.nodes[CANVAS_OUTPUT] = {
|
||||||
...(graph.nodes[CANVAS_OUTPUT] as IAICanvasPasteBackInvocation),
|
...(graph.nodes[CANVAS_OUTPUT] as CanvasPasteBackInvocation),
|
||||||
mask: canvasMaskImage,
|
mask: canvasMaskImage,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user