modern-canvas 0.14.34 → 0.14.35

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 +2 -2
package/dist/index.js CHANGED
@@ -8390,7 +8390,7 @@ class ne extends Se {
8390
8390
  }
8391
8391
  useTextureDraw() {
8392
8392
  let e = this.drawMode;
8393
- return e === "auto" && (this.effects?.length || this.content.some((t) => t.fragments.some((s) => !!(s.highlightImage || s.highlight?.image))) ? e = "texture" : e = this._autoDrawMode ?? "texture"), e === "texture";
8393
+ return e === "auto" && (this.effects?.length || this.outline?.width || this.content.some((t) => t.fragments.some((s) => !!(s.highlightImage || s.highlight?.image))) ? e = "texture" : e = this._autoDrawMode ?? "texture"), e === "texture";
8394
8394
  }
8395
8395
  _pathDraw(e) {
8396
8396
  const t = this._createTransformVertex();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-canvas",
3
3
  "type": "module",
4
- "version": "0.14.34",
4
+ "version": "0.14.35",
5
5
  "packageManager": "pnpm@10.19.0",
6
6
  "description": "A JavaScript WebGL rendering engine. only the ESM.",
7
7
  "author": "wxm",
@@ -97,7 +97,7 @@
97
97
  "simple-git-hooks": "^2.13.1",
98
98
  "typescript": "^5.9.3",
99
99
  "unbuild": "^3.6.1",
100
- "vite": "^7.3.0",
100
+ "vite": "^7.3.1",
101
101
  "vitest": "^4.0.16",
102
102
  "yoga-layout": "^3.2.1"
103
103
  },