feat: update text properties to use dynamic font size limits and scaling

This commit is contained in:
Maze Winther
2026-02-08 16:50:31 +01:00
parent 9b5fd6eb07
commit c6666fd385
4 changed files with 37 additions and 10 deletions
@@ -85,6 +85,7 @@ export function buildScene(params: BuildSceneParams) {
new TextNode({
...element,
canvasCenter: { x: canvasSize.width / 2, y: canvasSize.height / 2 },
canvasHeight: canvasSize.height,
textBaseline: "middle",
}),
);