From a8e10f6e820f3a41988a4ba6d87616015816f6ff Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Nov 2016 10:05:01 +0100 Subject: [PATCH] multixy: draw accurate dot stroke --- src/browser/js/app/widgets/pads/multixy.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index 816cd6f2..64c1c310 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -151,6 +151,8 @@ MultiXy.prototype.draw = function(){ this.ctx.beginPath() this.ctx.arc(x, y, this.pointSize * PXSCALE, Math.PI * 2, false) this.ctx.fill() + this.ctx.beginPath() + this.ctx.arc(x, y, (this.pointSize-1) * PXSCALE, Math.PI * 2, false) this.ctx.stroke() this.ctx.globalAlpha = 1