From 87f9233b1408b788c54f2aa6b377d5e3394682a7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 16:46:59 +0200 Subject: [PATCH] xy: pointSize fix --- src/client/widgets/pads/xy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index cfa03061..743ded5a 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -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()