exodeui 2.5.8 → 2.6.0

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.mjs CHANGED
@@ -5135,7 +5135,7 @@ class KC {
5135
5135
  let k = 0;
5136
5136
  K === "left" && (k = -s / 2), K === "right" && (k = s / 2);
5137
5137
  const M = C.fontWeight || "normal", F = C.fontStyle || "normal";
5138
- A.font = `${F} ${M} ${C.fontSize}px ${C.fontFamily}`;
5138
+ A.font = `${F} ${M} ${C.fontSize}px "${C.fontFamily}"`;
5139
5139
  const y = s > 0 ? s : void 0;
5140
5140
  w.fill && (A.fillStyle = w.fill.color, A.globalAlpha = (g.opacity ?? 1) * (w.fill.opacity ?? 1), A.fillText(h, k, 0, y)), w.stroke && w.stroke.width > 0 && (A.strokeStyle = w.stroke.color, A.lineWidth = w.stroke.width, A.globalAlpha = (g.opacity ?? 1) * (w.stroke.opacity ?? 1), A.strokeText(h, k, 0, y));
5141
5141
  } else if (C.type === "Image") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "2.5.8",
3
+ "version": "2.6.0",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",