kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Adjust bitmap editor to draw with a yellow pen
For highlightingprint-window-tiddler
rodzic
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";
|
||||||
|
|
Ładowanie…
Reference in New Issue