mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 07:38:07 +02:00
Fixes brackets
This commit is contained in:
parent
50b86ff480
commit
d5da15e001
1 changed files with 2 additions and 1 deletions
|
@ -1159,9 +1159,10 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
tmpCanvas = rescaleImage(imgData.data, widthScale, heightScale);
|
||||
ctx.scale(widthScale, heightScale);
|
||||
ctx.drawImage(tmpCanvas, 0, -h / heightScale);
|
||||
} else
|
||||
} else {
|
||||
tmpCtx.putImageData(imgData, 0, 0);
|
||||
ctx.drawImage(tmpCanvas, 0, -h);
|
||||
}
|
||||
this.restore();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue