We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 394727a + b7d71eb commit 1f94023Copy full SHA for 1f94023
1 file changed
src/display/api.js
@@ -1540,8 +1540,11 @@ class PDFPageProxy {
1540
this._pdfBug && globalThis.StepperManager?.enabled
1541
);
1542
const shouldRecordOperations =
1543
- !this.recordedBBoxes && (recordOperations || recordForDebugger);
1544
- const shouldRecordImages = !this.imageCoordinates && recordImages;
+ !!canvas &&
+ !this.recordedBBoxes &&
1545
+ (recordOperations || recordForDebugger);
1546
+ const shouldRecordImages =
1547
+ !!canvas && !this.imageCoordinates && recordImages;
1548
1549
const complete = error => {
1550
intentState.renderTasks.delete(internalRenderTask);
0 commit comments