mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-15 09:14:09 +00:00
Adjust bitmap editor to draw with a yellow pen
For highlighting
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user