pads: fix pointsize-margin scaling bug

This commit is contained in:
jean-emmanuel 2017-08-25 00:43:13 +02:00
parent c5613bf887
commit 78d147d263
2 changed files with 2 additions and 1 deletions

View file

@ -191,7 +191,7 @@ module.exports = class Xy extends _pads_base {
draw() {
var pointSize = this.pointSize * PXSCALE,
margin = (pointSize + 1) * PXSCALE,
margin = (this.pointSize + 1) * PXSCALE,
x = this.faders.x.percentToCoord(this.faders.x.percent),
y = this.faders.y.percentToCoord(this.faders.y.percent)