multixy: draw accurate dot stroke

This commit is contained in:
jean-emmanuel 2016-11-16 10:05:01 +01:00
parent ab4e923c03
commit a8e10f6e82

View file

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