ui: restore fader's variable opacity gauge
This commit is contained in:
parent
99c6f5d466
commit
074a94fa26
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ module.exports = class Fader extends _sliders_base {
|
|||
|
||||
if (this.getProp('compact')) {
|
||||
|
||||
this.ctx.globalAlpha = 0.4//0.2 + 0.2 * Math.abs(d-o) / (d<o?o:height-o)
|
||||
this.ctx.globalAlpha = 0.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