Belén Albeza 490995501d
🐛 Resize auto-width texts when a typography is applied (#13315)
With the WebGL renderer, applying a typography changed the text but left
its box at the old size, because nothing asked the renderer to measure
the text again. apply-typography now waits for the new font and resizes
the auto-grow texts inside its undo step, as the Design tab does.

The typography bar at the bottom of the canvas had its own copy of this
logic, with no resize and no undo step: the font-load heal resized the
box later without recording undo, so Ctrl+Z left the new size. It now
calls apply-typography.

Closes #13124

AI-assisted-by: claude-opus-5-5
2026-11-25 07:43:10 +01:00
..