diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/panels/color/colorpopup-manager.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/panels/color/colorpopup-manager.js b/js/panels/color/colorpopup-manager.js index 5b20fbf8..eb026aac 100755 --- a/js/panels/color/colorpopup-manager.js +++ b/js/panels/color/colorpopup-manager.js | |||
@@ -413,6 +413,7 @@ exports.ColorPopupManager = Montage.create(Component, { | |||
413 | // | 413 | // |
414 | this._popupChipBase.colorManager = ColorModel.create(); | 414 | this._popupChipBase.colorManager = ColorModel.create(); |
415 | this._popupChipBase.colorManager.input = 'chip'; | 415 | this._popupChipBase.colorManager.input = 'chip'; |
416 | this._popupChipBase.colorManager.alpha = 1; | ||
416 | // | 417 | // |
417 | if (e._event.srcElement.colorMode === 'gradient'){ | 418 | if (e._event.srcElement.colorMode === 'gradient'){ |
418 | this._popupChipBase.colorManager.gradient = {value: e._event.srcElement.colorValue}; | 419 | this._popupChipBase.colorManager.gradient = {value: e._event.srcElement.colorValue}; |
@@ -499,6 +500,7 @@ exports.ColorPopupManager = Montage.create(Component, { | |||
499 | // | 500 | // |
500 | this._popupGradientChipBase.colorManager = ColorModel.create(); | 501 | this._popupGradientChipBase.colorManager = ColorModel.create(); |
501 | this._popupGradientChipBase.colorManager.input = 'chip'; | 502 | this._popupGradientChipBase.colorManager.input = 'chip'; |
503 | this._popupGradientChipBase.colorManager.alpha = 1; | ||
502 | // | 504 | // |
503 | this._popupGradientChipBase.addEventListener('change', this, false); | 505 | this._popupGradientChipBase.addEventListener('change', this, false); |
504 | this._popupGradientChipBase.addEventListener('changing', this, false); | 506 | this._popupGradientChipBase.addEventListener('changing', this, false); |