modern-canvas 0.13.5 → 0.13.6

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7499,7 +7499,7 @@ class Ge extends I {
7499
7499
  draw() {
7500
7500
  const { width: e, height: t } = this.parent.size, s = this.parent.context;
7501
7501
  let i, o = !1;
7502
- this.image === "viewport" ? s.fillStyle = new Je() : ({ uvTransform: i, disableWrapMode: o } = Et(this, { width: e, height: t }), s.fillStyle = this.animatedTexture?.currentFrame.texture ?? this.texture ?? this.color), s.lineWidth = this.width || 1, s.strokeStyle = this.texture ?? this.color, s.lineCap = this.lineCap, s.lineJoin = this.lineJoin, s.stroke({
7502
+ this.image === "viewport" ? s.strokeStyle = new Je() : ({ uvTransform: i, disableWrapMode: o } = Et(this, { width: e, height: t }), s.strokeStyle = this.texture ?? this.color), s.lineWidth = this.width || 1, s.lineCap = this.lineCap, s.lineJoin = this.lineJoin, s.stroke({
7503
7503
  uvTransform: i,
7504
7504
  disableWrapMode: o
7505
7505
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-canvas",
3
3
  "type": "module",
4
- "version": "0.13.5",
4
+ "version": "0.13.6",
5
5
  "packageManager": "pnpm@10.19.0",
6
6
  "description": "A JavaScript WebGL rendering engine. only the ESM.",
7
7
  "author": "wxm",