mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
Let print canvas height scale proportionally
This commit is contained in:
parent
aeabd0db20
commit
708895ffba
1 changed files with 0 additions and 1 deletions
|
@ -532,7 +532,6 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|||
|
||||
// The rendered size of the canvas, relative to the size of canvasWrapper.
|
||||
canvas.style.width = (PRINT_OUTPUT_SCALE * 100) + '%';
|
||||
canvas.style.height = (PRINT_OUTPUT_SCALE * 100) + '%';
|
||||
|
||||
var cssScale = 'scale(' + (1 / PRINT_OUTPUT_SCALE) + ', ' +
|
||||
(1 / PRINT_OUTPUT_SCALE) + ')';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue