canvas-editor-engine 2.3.39 → 2.3.41
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.
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2642,10 +2642,9 @@ var DrawAccumulatorService = function() {
|
|
2642
2642
|
return painter.id === painterId;
|
2643
2643
|
}));
|
2644
2644
|
if (!painter) return [ 2, console.warn("Painter not found") ];
|
2645
|
-
filteredPainters =
|
2645
|
+
filteredPainters = this.painters.filter((function(painter) {
|
2646
2646
|
return painter.id !== painterId;
|
2647
|
-
}))
|
2648
|
-
if (!(filteredPainters === null || filteredPainters === void 0 ? void 0 : filteredPainters.length)) return [ 2, console.warn("Painter not found") ];
|
2647
|
+
}));
|
2649
2648
|
this.painters = createDynamicPainterStore();
|
2650
2649
|
filteredPainters.forEach((function(painter) {
|
2651
2650
|
_this.painters.push({
|