From c5c0c88eb2842e115eee0a49ff0e5112b0686ba9 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 1 Apr 2012 20:37:21 +0100 Subject: [PATCH] Whoops JSHint --- js/macros/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/macros/edit.js b/js/macros/edit.js index efea6319e..de6d82727 100644 --- a/js/macros/edit.js +++ b/js/macros/edit.js @@ -108,7 +108,7 @@ BitmapEditor.prototype.strokeMove = function(x,y) { canvasRect = canvas.getBoundingClientRect(), ctx = canvas.getContext("2d"); // Add the new position to the end of the stroke - this.stroke.push({x: x - canvasRect.left, y: y - canvasRect.top}) + this.stroke.push({x: x - canvasRect.left, y: y - canvasRect.top}); // Redraw the previous image ctx.drawImage(this.currCanvas,0,0); // Render the stroke