mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fix thumbnail scaling regression for files with different page sizes (issue 5637)
This commit is contained in:
parent
95fcbc2325
commit
c466a9e034
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue