ansilove.js

A script to display ANSi and artscene related file formats on web pages
Log | Files | Refs | README | LICENSE

commit 35f3c29c11e3619608db0283bfbace7277d3140b
parent 40f25672d484241e4c6f77a9020c02e4c1448d5d
Author: Andy Herbert <andy.herbert@gmail.com>
Date:   Sun, 10 Nov 2013 21:09:45 +0000

Drop the unnecessary webkit prefix to imageSmoothingEnabled.

Diffstat:
Mansilove.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansilove.js b/ansilove.js @@ -2230,7 +2230,7 @@ var AnsiLove = (function () { var scaledCanvas, ctx; scaledCanvas = createCanvas(canvas.width * 2, canvas.height * 2); ctx = scaledCanvas.getContext("2d"); - ctx.webkitImageSmoothingEnabled = false; + ctx.imageSmoothingEnabled = false; ctx.drawImage(canvas, 0, 0, scaledCanvas.width, scaledCanvas.height); scaledCanvas.style.width = canvas.width + "px"; scaledCanvas.style.height = canvas.height + "px";