[Pkg-javascript-commits] [pdf.js] 283/414: Let print canvas height scale proportionally
David Prévot
taffit at moszumanska.debian.org
Tue Jun 28 17:12:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 708895ffbacdb468d14906d5ae5e49c287910102
Author: Tobias Schneider <schneider at jancona.com>
Date: Mon Mar 21 14:20:54 2016 -0700
Let print canvas height scale proportionally
---
web/pdf_page_view.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/web/pdf_page_view.js b/web/pdf_page_view.js
index 3341989..a7cfe56 100644
--- a/web/pdf_page_view.js
+++ b/web/pdf_page_view.js
@@ -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) + ')';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list