knob: log compact style and reduce gauge alpha
This commit is contained in:
parent
3798802115
commit
13a6fafcff
2 changed files with 3 additions and 3 deletions
|
|
@ -162,7 +162,7 @@ Knob.prototype.draw = function(){
|
|||
this.ctx.arc(this.width / 2, this.height / 2, this.minDimension / 2 - (this.gaugeWidth + this.margin) * PXSCALE, min, max)
|
||||
this.ctx.stroke()
|
||||
|
||||
this.ctx.globalAlpha = 0.5
|
||||
this.ctx.globalAlpha = 0.3
|
||||
this.ctx.beginPath()
|
||||
this.ctx.strokeStyle = this.colors.gauge
|
||||
this.ctx.arc(this.width / 2, this.height / 2, this.minDimension / 2 - (this.gaugeWidth + this.margin) * PXSCALE, Math.min(o,d), Math.max(o,d))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue