rgb; handle alpha on color update / removal
This commit is contained in:
parent
e6d18a1984
commit
371db7a989
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue