diff options
Diffstat (limited to 'js/panels/color/colorpanelbase.reel')
-rwxr-xr-x | js/panels/color/colorpanelbase.reel/colorpanelbase.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/color/colorpanelbase.reel/colorpanelbase.js b/js/panels/color/colorpanelbase.reel/colorpanelbase.js index b3045db1..db46ced7 100755 --- a/js/panels/color/colorpanelbase.reel/colorpanelbase.js +++ b/js/panels/color/colorpanelbase.reel/colorpanelbase.js | |||
@@ -482,12 +482,14 @@ exports.ColorPanelBase = Montage.create(Component, { | |||
482 | this.ctx.clearRect(0, 0, this.cvs.width, this.cvs.height); | 482 | this.ctx.clearRect(0, 0, this.cvs.width, this.cvs.height); |
483 | if (m === 'gradient') { | 483 | if (m === 'gradient') { |
484 | this.style.backgroundImage = c.css; | 484 | this.style.backgroundImage = c.css; |
485 | this.style.backgroundColor = 'transparent'; | ||
485 | } else { | 486 | } else { |
486 | this.style.backgroundColor = c.css; | 487 | this.style.backgroundColor = c.css; |
488 | this.style.backgroundImage = 'none'; | ||
487 | } | 489 | } |
488 | } else { | 490 | } else { |
489 | this.drawNoColor(this, this.cvs); | 491 | this.drawNoColor(this, this.cvs); |
490 | }9 | 492 | } |
491 | this.colorValue = c; | 493 | this.colorValue = c; |
492 | this.colorMode = m; | 494 | this.colorMode = m; |
493 | this.otherInput = false; | 495 | this.otherInput = false; |