fix: envelope direct template (#2156)

This commit is contained in:
David Nguyen
2025-11-09 22:23:13 +11:00
committed by GitHub
parent 9fd9613076
commit e2f5e570cf
11 changed files with 301 additions and 155 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 () => {