Skip to content

Commit

Permalink
Expose page current output scale
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Nov 1, 2023
1 parent 046158b commit a406a85
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.currentOutputScale = outputScale.sx;
const sfx = approximateFraction(outputScale.sx);
const sfy = approximateFraction(outputScale.sy);

Expand Down

0 comments on commit a406a85

Please sign in to comment.