canvas-editor-engine 2.3.47 → 2.3.48
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
@@ -2561,9 +2561,9 @@ var DrawLayersService = function() {
|
|
2561
2561
|
if (options === null || options === void 0 ? void 0 : options.direction) {
|
2562
2562
|
layer.order = function() {
|
2563
2563
|
if (options.direction === "up") {
|
2564
|
-
return layer.order
|
2564
|
+
return layer.order--;
|
2565
2565
|
} else if (options.direction === "down") {
|
2566
|
-
return layer.order
|
2566
|
+
return layer.order++;
|
2567
2567
|
} else {
|
2568
2568
|
return layer.order;
|
2569
2569
|
}
|