Slightly simplify the isThumbnailViewEnabled
check in PDFRenderingQueue.renderHighestPriority
This commit is contained in:
parent
91692a20d1
commit
3dc738c4c8
@ -82,11 +82,12 @@ class PDFRenderingQueue {
|
||||
return;
|
||||
}
|
||||
// No pages needed rendering, so check thumbnails.
|
||||
if (this.pdfThumbnailViewer && this.isThumbnailViewEnabled) {
|
||||
if (this.pdfThumbnailViewer.forceRendering()) {
|
||||
if (
|
||||
this.isThumbnailViewEnabled &&
|
||||
this.pdfThumbnailViewer?.forceRendering()
|
||||
) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.printing) {
|
||||
// If printing is currently ongoing do not reschedule cleanup.
|
||||
|
Loading…
Reference in New Issue
Block a user