mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
Whoops JSHint
This commit is contained in:
parent
7ef554ba5e
commit
c5c0c88eb2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user