canvas-editor-engine 2.3.7 → 2.3.9
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 +5 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2221,8 +2221,11 @@ var DrawAccumulator = function() {
|
|
2221
2221
|
}));
|
2222
2222
|
};
|
2223
2223
|
DrawAccumulator.prototype.update = function() {
|
2224
|
-
this
|
2225
|
-
|
2224
|
+
var _this = this;
|
2225
|
+
setTimeout((function() {
|
2226
|
+
_this.clearCanvas();
|
2227
|
+
_this.invokePaintersOnLayers();
|
2228
|
+
}), 500);
|
2226
2229
|
};
|
2227
2230
|
Object.defineProperty(DrawAccumulator.prototype, "gradient", {
|
2228
2231
|
get: function() {
|