customized-fabric 1.5.2 → 1.5.3
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.
@@ -230,9 +230,9 @@ const ImagePlaceholderClass = fabric_1.fabric.util.createClass(fabric_1.fabric.G
|
|
230
230
|
},
|
231
231
|
loadCustomizedImage: async function (image) {
|
232
232
|
if (image) {
|
233
|
-
const { url, data, clipPath } = image;
|
233
|
+
const { url, filteredUrl, data, clipPath } = image;
|
234
234
|
if (url && data && clipPath) {
|
235
|
-
const loadedImage = await (0, utils_1.loadImageFromUrl)(url);
|
235
|
+
const loadedImage = await (0, utils_1.loadImageFromUrl)(filteredUrl ?? url);
|
236
236
|
if (loadedImage) {
|
237
237
|
const mask = await this.getMask();
|
238
238
|
const { top, left, scaleX, width, angle, flipX, flipY, settings = {}, } = data;
|