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();