fader: increase compact/dashed gauge opacity
This commit is contained in:
parent
04b39c0f5e
commit
bfda9a955b
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ module.exports = class Fader extends _sliders_base {
|
|||
|
||||
if (this.getProp('compact')) {
|
||||
|
||||
this.ctx.globalAlpha = 0.2 + 0.2 * Math.abs(d-o) / (d<o?o:height-o)
|
||||
this.ctx.globalAlpha = (dashed ? .3 : .2) + 0.2 * Math.abs(d-o) / (d<o?o:height-o)
|
||||
this.ctx.strokeStyle = this.colors.gauge
|
||||
this.ctx.beginPath()
|
||||
this.ctx.moveTo(m, o)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue