@glissade/backend-dom 0.21.0-pre.3 → 0.21.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -277,7 +277,7 @@ var DomBackend = class {
277
277
  this.#setStyle(o, div, "left", `${cmd.x}px`);
278
278
  this.#setStyle(o, div, "top", `${cmd.y}px`);
279
279
  const ax = cmd.align === "center" ? "-50%" : cmd.align === "right" ? "-100%" : "0px";
280
- this.#setStyle(o, div, "transform", `translate(${ax}, -0.8em)`);
280
+ this.#setStyle(o, div, "transform", `translate(${ax}, -0.84em)`);
281
281
  this.#setStyle(o, div, "fontFamily", cmd.font.family);
282
282
  this.#setStyle(o, div, "fontSize", `${cmd.font.size}px`);
283
283
  this.#setStyle(o, div, "fontWeight", cmd.font.weight !== void 0 ? String(cmd.font.weight) : void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissade/backend-dom",
3
- "version": "0.21.0-pre.3",
3
+ "version": "0.21.0",
4
4
  "description": "glissade DOM render backend: DisplayList -> HTML/SVG elements. A preview / non-parity realtime tier (accessibility, selectable text, CSS-native embedding) — NOT a Skia-export twin.",
5
5
  "license": "Apache-2.0",
6
6
  "engines": {
@@ -18,8 +18,8 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@glissade/core": "0.21.0-pre.3",
22
- "@glissade/scene": "0.21.0-pre.3"
21
+ "@glissade/core": "0.21.0",
22
+ "@glissade/scene": "0.21.0"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",