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
|
|
@ -5,8 +5,8 @@
|
|||
- bug fixes
|
||||
- meters in faders were not always properly positionned
|
||||
- widgets
|
||||
- knob: gauge's width is proportionnal to the knob's size in `compact` mode; widget's content centering fixed;
|
||||
|
||||
- knob: gauge's width is proportionnal to the knob's size in `compact` mode; widget's content centering fixed; `compact` style update;
|
||||
|
||||
## 0.11.0
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -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