Adjust bitmap editor to draw with a yellow pen

For highlighting
print-window-tiddler
Jeremy Ruston 2013-05-08 15:11:53 +01:00
rodzic 762f50d920
commit abcf7df875
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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";