Fix thumbnail scaling regression for files with different page sizes (issue 5637)
This commit is contained in:
parent
95fcbc2325
commit
c466a9e034
@ -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…
Reference in New Issue
Block a user