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
6c5be9e89c
commit
7b4ef5926d
@ -1,8 +1,8 @@
|
||||
import { logger } from 'app/logging/logger';
|
||||
import type { RootState } from 'app/store/store';
|
||||
import type {
|
||||
CanvasPasteBackInvocation,
|
||||
CreateGradientMaskInvocation,
|
||||
IAICanvasPasteBackInvocation,
|
||||
ImageDTO,
|
||||
ImageToLatentsInvocation,
|
||||
NoiseInvocation,
|
||||
@ -391,7 +391,7 @@ export const buildCanvasInpaintGraph = (
|
||||
|
||||
// Paste Back
|
||||
graph.nodes[CANVAS_OUTPUT] = {
|
||||
...(graph.nodes[CANVAS_OUTPUT] as IAICanvasPasteBackInvocation),
|
||||
...(graph.nodes[CANVAS_OUTPUT] as CanvasPasteBackInvocation),
|
||||
mask: canvasMaskImage,
|
||||
};
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { logger } from 'app/logging/logger';
|
||||
import type { RootState } from 'app/store/store';
|
||||
import type {
|
||||
CanvasPasteBackInvocation,
|
||||
CreateGradientMaskInvocation,
|
||||
IAICanvasPasteBackInvocation,
|
||||
ImageDTO,
|
||||
ImageToLatentsInvocation,
|
||||
NoiseInvocation,
|
||||
@ -401,7 +401,7 @@ export const buildCanvasSDXLInpaintGraph = (
|
||||
|
||||
// Paste Back
|
||||
graph.nodes[CANVAS_OUTPUT] = {
|
||||
...(graph.nodes[CANVAS_OUTPUT] as IAICanvasPasteBackInvocation),
|
||||
...(graph.nodes[CANVAS_OUTPUT] as CanvasPasteBackInvocation),
|
||||
mask: canvasMaskImage,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user