xy: pointSize fix

This commit is contained in:
bordun 2020-09-06 16:46:59 +02:00
parent ef81feba8d
commit 6df351c9c8

View file

@ -269,7 +269,7 @@ module.exports = class Xy extends Pad {
this.ctx.globalAlpha = this.active ? 1 : 0.75
this.ctx.lineWidth = 1.5 * PXSCALE
this.ctx.beginPath()
this.ctx.arc(x, y, pointSize, Math.PI * 2, false)
this.ctx.arc(x, y, pointSize - PXSCALE * 2, Math.PI * 2, false)
this.ctx.stroke()