From abcf7df87500d553d62c5a237dd01eee9e821657 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 8 May 2013 15:11:53 +0100 Subject: [PATCH] Adjust bitmap editor to draw with a yellow pen For highlighting --- core/modules/widgets/edit/editors/bitmapeditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/widgets/edit/editors/bitmapeditor.js b/core/modules/widgets/edit/editors/bitmapeditor.js index f3d724631..7f145c7ab 100644 --- a/core/modules/widgets/edit/editors/bitmapeditor.js +++ b/core/modules/widgets/edit/editors/bitmapeditor.js @@ -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";