exodeui 6.2.4 → 6.2.5
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 +2 -2
- package/dist/index.mjs +9 -6
- package/dist/src/engine.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8149,12 +8149,15 @@ class hi {
|
|
|
8149
8149
|
let D = g;
|
|
8150
8150
|
I === "underline" ? D = g + E * 0.12 : I === "line-through" && (D = g - E * 0.3), A.lineWidth = i, A.strokeStyle = A.fillStyle, A.moveTo(C - Q / 2, D), A.lineTo(C + Q / 2, D), A.stroke();
|
|
8151
8151
|
}
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8152
|
+
/* Unused:
|
|
8153
|
+
private getFontLeadingFactor(fontFamily: string): number {
|
|
8154
|
+
const name = (fontFamily || 'Inter').trim();
|
|
8155
|
+
for (const [key, value] of Object.entries(this.fontLeadingFactors)) {
|
|
8156
|
+
if (name.toLowerCase() === key.toLowerCase()) return value;
|
|
8157
|
+
}
|
|
8158
|
+
return 0.5; // Mathematical Default
|
|
8157
8159
|
}
|
|
8160
|
+
*/
|
|
8158
8161
|
renderObject(A, I, C) {
|
|
8159
8162
|
var O, b, d, X, iA, v, CA, KA, yA, m, gA, EA, BA;
|
|
8160
8163
|
const g = this.objectStates.get(I.id);
|
|
@@ -10140,7 +10143,7 @@ function ei() {
|
|
|
10140
10143
|
updateObjectOptions: D
|
|
10141
10144
|
};
|
|
10142
10145
|
}
|
|
10143
|
-
const Gi = "6.2.
|
|
10146
|
+
const Gi = "6.2.5", Ki = {
|
|
10144
10147
|
version: Gi
|
|
10145
10148
|
}, Fi = Ki.version;
|
|
10146
10149
|
export {
|
package/dist/src/engine.d.ts
CHANGED