Skip to content

Commit 63960ad

Browse files
committed
Force annotation rendering on Canvas instead of DOM
1 parent dfdaa50 commit 63960ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web/pdf_page_view.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ class PDFPageView extends BasePDFPageView {
460460
try {
461461
await this.annotationLayer.render({
462462
viewport: this.viewport,
463-
intent: "display",
463+
intent: "print",
464464
structTreeLayer: this.structTreeLayer,
465465
});
466466
} catch (ex) {
@@ -1019,7 +1019,7 @@ class PDFPageView extends BasePDFPageView {
10191019
viewport: this.viewport,
10201020
annotationMode: this.#annotationMode,
10211021
optionalContentConfigPromise: this._optionalContentConfigPromise,
1022-
annotationCanvasMap: this._annotationCanvasMap,
1022+
annotationCanvasMap: null,
10231023
pageColors: this.pageColors,
10241024
isEditing: this.#isEditing,
10251025
recordOperations,

0 commit comments

Comments
 (0)