Skip to content

Commit 3cec4fe

Browse files
committed
temporarily disable tempCanvas
1 parent d21b6b1 commit 3cec4fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/base_pdf_page_view.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ class BasePDFPageView {
106106
// In HCM, a final filter is applied on the canvas which means that
107107
// before it's applied we've normal colors. Consequently, to avoid to
108108
// have a final flash we just display it once all the drawing is done.
109-
const updateOnFirstShow = !prevCanvas && !hasHCM && !hideUntilComplete;
109+
// const updateOnFirstShow = !prevCanvas && !hasHCM && !hideUntilComplete;
110+
const updateOnFirstShow = false;
110111

111112
let canvas = (this.canvas = document.createElement("canvas"));
112113

0 commit comments

Comments
 (0)