From 1905f9bafcee1c30a7e9206c0c0573071633fa8e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Oct 2016 11:16:16 +0200 Subject: [PATCH] rgb: reduce knob contrast on bright values --- src/browser/js/app/widgets/pads/rgb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/pads/rgb.js b/src/browser/js/app/widgets/pads/rgb.js index f9d8d07d..d8a3c8da 100644 --- a/src/browser/js/app/widgets/pads/rgb.js +++ b/src/browser/js/app/widgets/pads/rgb.js @@ -213,7 +213,7 @@ Rgb.prototype.draw = function(){ var x = clip(this.faders.s.percent / 100 * this.width,[0,this.width]), y = clip((1 - this.faders.b.percent / 100) * this.height,[0,this.height]), - color = this.hsb.b > 70 && this.hsb.s < 30 ? 'black' : 'white' + color = this.hsb.b > 70 && this.hsb.s < 30 ? '#555' : 'white' this.ctx.clearRect(0,0,this.width,this.height)