modern-canvas 0.26.0 → 0.26.1
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.js +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -7440,7 +7440,7 @@ var Z = class extends T {
|
|
|
7440
7440
|
});
|
|
7441
7441
|
}
|
|
7442
7442
|
_computeAtlasEligible() {
|
|
7443
|
-
if (this.drawMode === "texture" || this.drawMode === "path" || this.effects?.length || this.outline?.width || this.fill && !d(this.fill) || this.content.some((e) => e.fragments.some((e) => !!(e.highlightImage || e.highlight?.image || e.fill && !d(e.fill))))) return !1;
|
|
7443
|
+
if (this.drawMode === "texture" || this.drawMode === "path" || this.effects?.length || this.outline?.width || this.deformation && !d(this.deformation) && this.deformation.type || this.fill && !d(this.fill) || this.content.some((e) => e.fragments.some((e) => !!(e.highlightImage || e.highlight?.image || e.fill && !d(e.fill))))) return !1;
|
|
7444
7444
|
let e = 2048 / cr.superSample / 1.5, t = this.base.characters;
|
|
7445
7445
|
for (let n = 0; n < t.length; n++) {
|
|
7446
7446
|
let r = t[n].computedStyle;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "modern-canvas",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.26.
|
|
4
|
+
"version": "0.26.1",
|
|
5
5
|
"packageManager": "pnpm@10.19.0",
|
|
6
6
|
"description": "A JavaScript WebGL rendering engine. only the ESM.",
|
|
7
7
|
"author": "wxm",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"colord": "^2.9.3",
|
|
64
|
-
"earcut": "^3.0
|
|
65
|
-
"modern-font": "^0.6.
|
|
64
|
+
"earcut": "^3.2.0",
|
|
65
|
+
"modern-font": "^0.6.2",
|
|
66
66
|
"modern-idoc": "^0.12.3",
|
|
67
67
|
"modern-path2d": "^1.8.6",
|
|
68
|
-
"modern-text": "^2.1.
|
|
68
|
+
"modern-text": "^2.1.2"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"echarts": "^5 || ^6",
|
|
@@ -90,16 +90,16 @@
|
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@antfu/eslint-config": "^9.1.0",
|
|
92
92
|
"@types/earcut": "^3.0.0",
|
|
93
|
-
"@types/node": "^26.0.
|
|
93
|
+
"@types/node": "^26.0.1",
|
|
94
94
|
"bumpp": "^11.1.0",
|
|
95
95
|
"conventional-changelog-cli": "^5.0.0",
|
|
96
96
|
"echarts": "^6.1.0",
|
|
97
|
-
"eslint": "^10.
|
|
97
|
+
"eslint": "^10.6.0",
|
|
98
98
|
"lottie-web": "^5.13.0",
|
|
99
99
|
"modern-gif": "^2.1.0",
|
|
100
100
|
"typescript": "^6.0.3",
|
|
101
101
|
"unbuild": "^3.6.1",
|
|
102
|
-
"vite": "^8.1.
|
|
102
|
+
"vite": "^8.1.2",
|
|
103
103
|
"vitest": "^4.1.9",
|
|
104
104
|
"yoga-layout": "^3.2.1"
|
|
105
105
|
}
|