mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add crossOrigin = anonymous attribute to konva image
This commit is contained in:
parent
650d69ef5b
commit
454ba9b893
@ -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 <Image x={x} y={y} image={image} listening={false} />;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user