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,
if (this.hasImage || !img) { if (this.hasImage || !img) {
return; return;
} }
if (this.pdfPage) { if (!this.pdfPage) {
this.setPdfPage(pageView.pdfPage); this.setPdfPage(pageView.pdfPage);
} }
this.renderingState = RenderingStates.FINISHED; this.renderingState = RenderingStates.FINISHED;

Loading…
Cancel
Save