mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 16:59:27 +08:00
1 parent
2b2e83bdbe
commit
740c088bfd
9 files changed
+34
-6
No files matched your search
@@ -1665,6 +1665,7 @@ async function processPageRenderQueue() {
|
||||
const page = await callWASM("ofdgoRenderPage", task.index);
|
||||
await loadSVGFonts(page.fonts, task.openSeq);
|
||||
if (task.openSeq === state.openSeq) {
|
||||
page.text = JSON.parse(page.text);
|
||||
state.pageCache.set(task.index, page);
|
||||
}
|
||||
task.resolve(page);
|
||||
|
||||
Reference in new issue
Block a user