feat(打印能力): 打印设置临时记忆
build.yaml / build (push) Successful in 44s

This commit is contained in:
xiaoqidun committed 2026-10-24 23:47:34 +08:00
1 parent 89e080a9fc
commit 410df7c3b0
2 files changed
+46 -26

No files matched your search

+1 -1
View File
@@ -670,7 +670,7 @@ function openPrintPanel() {
const tab = documentTab();
if (!tab.state.doc || !tab.state.ready || document.body.hasAttribute("data-busy") || formDialogOpen()) return;
printDialog ||= createPrintDialog();
printDialog.open({tab, call:(name, ...args) => callTabWASM(tab, name, ...args), page:tab.state.pageIndex,
printDialog.open({tab, document:documentEntryKey(tab.state.doc.documents?.[tab.state.doc.documentIndex || 0]), call:(name, ...args) => callTabWASM(tab, name, ...args), page:tab.state.pageIndex,
selection:tab.state.pageSelection.size ? selectedPageIndexes() : [], annotations:tab.state.renderAnnotations,
name:tab.state.fileName || tab.state.doc.title || "OFDGo"});
}