Browse Source

Fix thumbnail scaling regression for files with different page sizes (issue 5637)

Jonas Jenwald 10 years ago
parent
commit
c466a9e034
  1. 2
      web/thumbnail_view.js

2
web/thumbnail_view.js

@ -203,7 +203,7 @@ var ThumbnailView = function thumbnailView(container, id, defaultViewport, @@ -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;

Loading…
Cancel
Save