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); tmpCanvas = rescaleImage(imgData.data, widthScale, heightScale);
ctx.scale(widthScale, heightScale); ctx.scale(widthScale, heightScale);
ctx.drawImage(tmpCanvas, 0, -h / heightScale); ctx.drawImage(tmpCanvas, 0, -h / heightScale);
} else } else {
tmpCtx.putImageData(imgData, 0, 0); tmpCtx.putImageData(imgData, 0, 0);
ctx.drawImage(tmpCanvas, 0, -h); ctx.drawImage(tmpCanvas, 0, -h);
}
this.restore(); this.restore();
}, },