Merge pull request #7029 from Snuffleupagus/PDFThumnailView-refactor-canvas-to-image

[PDFThumbnailView] Re-factor the `canvas` to `image` conversion such that we always render to a `canvas`, and then replace it with an `image` once rendering is done
This commit is contained in:
Yury Delendik 2016-03-07 14:00:39 -06:00
commit 4065a21f8c
2 changed files with 39 additions and 16 deletions

View file

@ -147,7 +147,8 @@ var PDFThumbnailViewer = (function PDFThumbnailViewerClosure() {
id: pageNum,
defaultViewport: viewport.clone(),
linkService: this.linkService,
renderingQueue: this.renderingQueue
renderingQueue: this.renderingQueue,
disableCanvasToImageConversion: false,
});
this.thumbnails.push(thumbnail);
}