From 371db7a9899ee30375796cf616aa026d6c683b70 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 3 Nov 2018 13:49:48 +0100 Subject: [PATCH] rgb; handle alpha on color update / removal --- src/client/app/widgets/pads/rgb.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/app/widgets/pads/rgb.js b/src/client/app/widgets/pads/rgb.js index f4b18e22..00e75361 100644 --- a/src/client/app/widgets/pads/rgb.js +++ b/src/client/app/widgets/pads/rgb.js @@ -240,6 +240,7 @@ module.exports = class Rgb extends Pad { w.onPropChanged('color') } if (this.input) this.input.onPropChanged('color') + if (this.alpha) this.alpha.onPropChanged('color') return } @@ -250,6 +251,7 @@ module.exports = class Rgb extends Pad { this.hue.onRemove() this.pad.onRemove() if (this.input) this.input.onRemove() + if (this.alpha) this.alpha.onRemove() super.onRemove() }