fix: envelope numbers and direct templates

This commit is contained in:
David Nguyen
2025-11-09 18:31:16 +11:00
parent 9fd9613076
commit a385a6785b
10 changed files with 300 additions and 154 deletions

View File

@ -107,6 +107,10 @@ export function usePageRenderer(renderFunction: RenderFunction) {
stage: stage.current,
pageLayer: pageLayer.current,
});
void document.fonts.ready.then(function () {
pageLayer.current?.batchDraw();
});
});
return () => {