Merge pull request #1035 from notmasteryet/tree-54
Fixes thumbnail's drawingRequired
This commit is contained in:
commit
5b3f5a30ab
@ -882,6 +882,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