@meta2d/core 1.0.5 → 1.0.7
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/package.json +1 -1
- package/src/canvas/canvas.js +2 -1
- package/src/canvas/canvas.js.map +1 -1
- package/src/core.js +2 -1
- package/src/core.js.map +1 -1
- package/src/pen/model.d.ts +5 -0
- package/src/pen/model.js +1 -1
- package/src/pen/model.js.map +1 -1
- package/src/pen/render.d.ts +4 -0
- package/src/pen/render.js +265 -14
- package/src/pen/render.js.map +1 -1
package/package.json
CHANGED
package/src/canvas/canvas.js
CHANGED
|
@@ -4477,6 +4477,8 @@ var Canvas = /** @class */ (function () {
|
|
|
4477
4477
|
this.patchFlagsLines.add(line);
|
|
4478
4478
|
this.store.path2dMap.set(line, globalStore.path2dDraws[line.name](line));
|
|
4479
4479
|
this.render();
|
|
4480
|
+
this.store.active[0].calculative &&
|
|
4481
|
+
(this.store.active[0].calculative.gradientAnimatePath = undefined);
|
|
4480
4482
|
if (this.timer) {
|
|
4481
4483
|
clearTimeout(this.timer);
|
|
4482
4484
|
}
|
|
@@ -5109,7 +5111,6 @@ var Canvas = /** @class */ (function () {
|
|
|
5109
5111
|
}
|
|
5110
5112
|
dels.forEach(function (pen) {
|
|
5111
5113
|
_this.store.animates.delete(pen);
|
|
5112
|
-
_this.store.animateMap.delete(pen);
|
|
5113
5114
|
});
|
|
5114
5115
|
_this.render(false);
|
|
5115
5116
|
_this.animateRendering = false;
|