From 61eba1d77904bd510213f31554d6725e245a38f1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 3 Nov 2018 20:06:58 +0100 Subject: [PATCH] pads: no pips outer rect --- src/client/app/widgets/pads/xy.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/client/app/widgets/pads/xy.js b/src/client/app/widgets/pads/xy.js index 92cdb683..e99e348e 100644 --- a/src/client/app/widgets/pads/xy.js +++ b/src/client/app/widgets/pads/xy.js @@ -227,11 +227,6 @@ module.exports = class Xy extends Pad { if (this.getProp('pips')) { this.ctx.strokeStyle = this.colors.pips - this.ctx.globalAlpha = 0.1 - this.ctx.beginPath() - this.ctx.rect(margin + 0.5, margin + 0.5, this.width - margin * 2 - 1, this.height - margin * 2 - 1) - this.ctx.stroke() - this.ctx.globalAlpha = this.colors.pipsOpacity this.ctx.beginPath() for (var pip of this.faders.x.rangeKeys.concat(this.faders.x.valueToPercent(this.faders.x.originValue))) {