canvas-editor-engine 2.3.25 → 2.3.26
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 +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2576,12 +2576,12 @@ var DrawAccumulatorService = function() {
|
|
2576
2576
|
}
|
2577
2577
|
}, {
|
2578
2578
|
get: function(target, name) {
|
2579
|
-
return target;
|
2579
|
+
return target[name];
|
2580
2580
|
},
|
2581
2581
|
set: function(target, name, value) {
|
2582
2582
|
try {
|
2583
2583
|
if (typeof (value === null || value === void 0 ? void 0 : value.object) !== "undefined") {
|
2584
|
-
target[
|
2584
|
+
target[name] = value.object;
|
2585
2585
|
value.update();
|
2586
2586
|
return true;
|
2587
2587
|
} else {
|
@@ -2590,7 +2590,7 @@ var DrawAccumulatorService = function() {
|
|
2590
2590
|
return false;
|
2591
2591
|
} else {
|
2592
2592
|
var MIN_LENGTH = -1;
|
2593
|
-
var MAX_LENGTH = __spreadArray([], Object.keys(target), true);
|
2593
|
+
var MAX_LENGTH = __spreadArray([], Object.keys(target["value"]), true);
|
2594
2594
|
if (value <= Math.max.apply(Math, __spreadArray([ MIN_LENGTH ], MAX_LENGTH, false)) + 1) {
|
2595
2595
|
target["value"].length = value;
|
2596
2596
|
}
|