Fix thumbnail's drawingRequired
This commit is contained in:
parent
4bb289ec49
commit
80a1919cfc
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user