1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Fix thumbnail's drawingRequired

This commit is contained in:
notmasteryet 2012-01-05 18:39:48 -06:00
parent 4bb289ec49
commit 80a1919cfc

View file

@ -878,6 +878,10 @@ var ThumbnailView = function thumbnailView(container, page, id, pageRatio) {
return ctx;
}
this.drawingRequired = function thumbnailViewDrawingRequired() {
return !this.hasImage;
};
this.draw = function thumbnailViewDraw(callback) {
if (this.hasImage) {
callback();