mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
Adjust bitmap editor to draw with a yellow pen
For highlighting
This commit is contained in:
parent
762f50d920
commit
abcf7df875
@ -134,6 +134,7 @@ BitmapEditor.prototype.strokeMove = function(x,y) {
|
|||||||
// Redraw the previous image
|
// Redraw the previous image
|
||||||
ctx.drawImage(this.currCanvas,0,0);
|
ctx.drawImage(this.currCanvas,0,0);
|
||||||
// Render the stroke
|
// Render the stroke
|
||||||
|
ctx.strokeStyle = "#ff0";
|
||||||
ctx.lineWidth = 3;
|
ctx.lineWidth = 3;
|
||||||
ctx.lineCap = "round";
|
ctx.lineCap = "round";
|
||||||
ctx.lineJoin = "round";
|
ctx.lineJoin = "round";
|
||||||
|
Loading…
Reference in New Issue
Block a user