mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-23 00:28:06 +02:00
Fix undefined stepper.
This commit is contained in:
parent
6aa72f411b
commit
ebf26a5e29
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
var slowCommands = this.slowCommands;
|
||||
|
||||
while (true) {
|
||||
if (stepper !== null && i === stepper.nextBreakPoint) {
|
||||
if (stepper && i === stepper.nextBreakPoint) {
|
||||
stepper.breakIt(i, continueCallback);
|
||||
return i;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue