From 288b851d0570cf0bb3c8486a60f6fe94a28eb471 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Wed, 29 May 2013 22:50:01 +0300 Subject: [PATCH] revert image smooth disabling --- src/renderers/Canvas.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/renderers/Canvas.js b/src/renderers/Canvas.js index 19aea3b..3578a27 100644 --- a/src/renderers/Canvas.js +++ b/src/renderers/Canvas.js @@ -80,7 +80,6 @@ _html2canvas.Renderer.Canvas = function(options) { canvas.height = canvas.style.height = options.height || zStack.ctx.height; fstyle = ctx.fillStyle; - ctx.webkitImageSmoothingEnabled = ctx.mozImageSmoothingEnabled = ctx.imageSmoothingEnabled = false; ctx.fillStyle = (isTransparent(zStack.backgroundColor) && options.background !== undefined) ? options.background : zStack.backgroundColor; ctx.fillRect(0, 0, canvas.width, canvas.height); ctx.fillStyle = fstyle;