canvas-editor-engine 2.3.67 → 2.3.68
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 +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2620,6 +2620,7 @@ var DrawLayersService = function() {
|
|
2620
2620
|
var replaceableIdx_1 = _this.layerList.findIndex((function(layer) {
|
2621
2621
|
return layer.order === newOrder;
|
2622
2622
|
}));
|
2623
|
+
console.log(_this.layerList[layerIdx_1].order > newOrder, _this.layerList[layerIdx_1].order, newOrder);
|
2623
2624
|
if (_this.layerList[layerIdx_1].order > newOrder) {
|
2624
2625
|
_this.layerList = _this.layerList.map((function(item, idx) {
|
2625
2626
|
if (idx >= layerIdx_1 && idx <= replaceableIdx_1) {
|