Skip to content

Commit

Permalink
Expose not rounded canvas width
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Nov 1, 2023
1 parent 046158b commit 10691ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/pdf_page_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ class PDFPageView {
this.hasRestrictedScaling = false;
}
}
this.currentCanvasWidth = width * outputScale.sx;
const sfx = approximateFraction(outputScale.sx);
const sfy = approximateFraction(outputScale.sy);

Expand Down

0 comments on commit 10691ef

Please sign in to comment.