knob: light stroke fix

This commit is contained in:
jean-emmanuel 2017-07-03 11:10:47 +02:00
parent 1ae5aeaf83
commit e3264707a4

View file

@ -228,7 +228,7 @@ module.exports = class Knob extends _sliders_base {
this.ctx.beginPath()
this.ctx.globalAlpha = 1
this.ctx.arc(this.width / 2, this.height / 2, knobRadius - PXSCALE, 0, Math.PI * 2)
this.ctx.arc(this.width / 2, this.height / 2, knobRadius - PXSCALE * 1.5, 0, Math.PI * 2)
this.ctx.strokeStyle = this.colors.light
this.ctx.stroke()