From 454ba9b8930a4fc0260c474a9c5665caa14e3f6a Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Tue, 23 May 2023 10:51:00 -0400 Subject: [PATCH] add crossOrigin = anonymous attribute to konva image --- .../web/src/features/canvas/components/IAICanvasImage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx b/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx index 8229f8552f..b8757eff0c 100644 --- a/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx +++ b/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx @@ -8,7 +8,7 @@ type IAICanvasImageProps = { }; const IAICanvasImage = (props: IAICanvasImageProps) => { const { url, x, y } = props; - const [image] = useImage(url); + const [image] = useImage(url, 'anonymous'); return ; };