customized-fabric 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
|