@leapfrog/interactive-canvas 2.0.23-beta-3 → 2.0.23-beta-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3058,6 +3058,8 @@ class AbstractInteractiveCanvas {
|
|
|
3058
3058
|
scaleY: newScale,
|
|
3059
3059
|
originX: "left",
|
|
3060
3060
|
originY: "top",
|
|
3061
|
+
crossOrigin: options.crossOrigin,
|
|
3062
|
+
src: imageUrl
|
|
3061
3063
|
});
|
|
3062
3064
|
this.fabricCanvas.add(fabricImage);
|
|
3063
3065
|
const object = new Image(this, fabricImage);
|
|
@@ -3079,6 +3079,8 @@ class AbstractInteractiveCanvas {
|
|
|
3079
3079
|
scaleY: newScale,
|
|
3080
3080
|
originX: "left",
|
|
3081
3081
|
originY: "top",
|
|
3082
|
+
crossOrigin: options.crossOrigin,
|
|
3083
|
+
src: imageUrl
|
|
3082
3084
|
});
|
|
3083
3085
|
this.fabricCanvas.add(fabricImage);
|
|
3084
3086
|
const object = new Image(this, fabricImage);
|