[Pkg-javascript-commits] [pdf.js] 42/116: Fix thumbnail scaling regression for files with different page sizes (issue 5637)
David Prévot
taffit at moszumanska.debian.org
Fri Mar 6 16:19:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit c466a9e0344e751e458ac08c5ee8d89aeec287bc
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date: Tue Jan 13 01:03:54 2015 +0100
Fix thumbnail scaling regression for files with different page sizes (issue 5637)
---
web/thumbnail_view.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/thumbnail_view.js b/web/thumbnail_view.js
index e07ab3a..3b4120a 100644
--- a/web/thumbnail_view.js
+++ b/web/thumbnail_view.js
@@ -203,7 +203,7 @@ var ThumbnailView = function thumbnailView(container, id, defaultViewport,
if (this.hasImage || !img) {
return;
}
- if (this.pdfPage) {
+ if (!this.pdfPage) {
this.setPdfPage(pageView.pdfPage);
}
this.renderingState = RenderingStates.FINISHED;
--
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