1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Fixes brackets

This commit is contained in:
Yury Delendik 2012-06-05 17:56:18 -05:00
parent 50b86ff480
commit d5da15e001

View file

@ -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();
},