canvas-editor-engine 2.3.62 → 2.3.64
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 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2582,7 +2582,7 @@ var DrawLayersService = function() {
|
|
2582
2582
|
_this.layerList.forEach((function(l) {
|
2583
2583
|
return l.order < mostMin_1 ? mostMin_1 = l.order : null;
|
2584
2584
|
}));
|
2585
|
-
newOrder = mostMin_1;
|
2585
|
+
newOrder = mostMin_1 - 1;
|
2586
2586
|
break;
|
2587
2587
|
}
|
2588
2588
|
}
|
@@ -2627,7 +2627,7 @@ var DrawLayersService = function() {
|
|
2627
2627
|
return item;
|
2628
2628
|
}));
|
2629
2629
|
_this.layerList.forEach((function(item, idx) {
|
2630
|
-
if (idx
|
2630
|
+
if (idx >= layerIdx_1 && idx <= replaceableIdx_1) {
|
2631
2631
|
_this.appStoreRepository.store.drawLayersState.reduce("UPDATE_LAYER", item);
|
2632
2632
|
}
|
2633
2633
|
}));
|