1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-03 01:10:45 +00:00

Whoops JSHint

This commit is contained in:
Jeremy Ruston 2012-04-01 20:37:21 +01:00
parent 7ef554ba5e
commit c5c0c88eb2

View File

@ -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