Skip to content

Commit b04e707

Browse files
committed
hard fix on crossOrigin
1 parent 4cba249 commit b04e707

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dansreis/react-canvas-annotator",
33
"homepage": "http://dansreis.github.io/react-canvas-annotator",
4-
"version": "1.0.3-alpha",
4+
"version": "1.0.4-alpha",
55
"description": "",
66
"type": "module",
77
"main": "dist/index.cjs.js",

src/components/Board/Board.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const Board = React.forwardRef<BoardActions, BoardProps>(
245245
canvas!.renderAll();
246246
onLoadedImage?.({ width: img.width ?? 0, height: img.height ?? 0 });
247247
},
248-
{ selectable: false },
248+
{ selectable: false, crossOrigin: "anonymous" },
249249
);
250250

251251
// On Wheel interation/move

0 commit comments

Comments
 (0)