Skip to content

Commit 61c2f83

Browse files
paodbmlopezFC
authored andcommitted
fix: force rendering to avoid blurry display on zoom update
1 parent dd23c5c commit 61c2f83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vcf-pdf-viewer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ class PdfViewerElement extends
695695
// webcomponents/shadow dom messing with
696696
// TODO: Fix the issue so that we get rid of the error in log
697697
this.__viewer.currentScaleValue = value;
698+
this.__viewer.forceRendering();
698699
}
699700

700701
__pageChange(event) {

0 commit comments

Comments
 (0)