1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Adjust bitmap editor to draw with a yellow pen

For highlighting
This commit is contained in:
Jeremy Ruston 2013-05-08 15:11:53 +01:00
parent 762f50d920
commit abcf7df875

View File

@ -134,6 +134,7 @@ BitmapEditor.prototype.strokeMove = function(x,y) {
// Redraw the previous image
ctx.drawImage(this.currCanvas,0,0);
// Render the stroke
ctx.strokeStyle = "#ff0";
ctx.lineWidth = 3;
ctx.lineCap = "round";
ctx.lineJoin = "round";