diff --git a/CHANGELOG.md b/CHANGELOG.md index 4abeb15e..f12742e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js index 0a747da9..d62b4668 100644 --- a/src/browser/js/app/widgets/sliders/knob.js +++ b/src/browser/js/app/widgets/sliders/knob.js @@ -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))