diff options
Diffstat (limited to 'js/panels/color')
-rwxr-xr-x | js/panels/color/colorpopup-manager.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/panels/color/colorpopup-manager.js b/js/panels/color/colorpopup-manager.js index 0f8e20e6..c29e338b 100755 --- a/js/panels/color/colorpopup-manager.js +++ b/js/panels/color/colorpopup-manager.js | |||
@@ -407,6 +407,10 @@ exports.ColorPopupManager = Montage.create(Component, { | |||
407 | // | 407 | // |
408 | this._popupChipBase.colorManager = ColorModel.create(); | 408 | this._popupChipBase.colorManager = ColorModel.create(); |
409 | // | 409 | // |
410 | if (e._event.srcElement.colorMode === 'gradient'){ | ||
411 | this._popupChipBase.colorManager.gradient = {value: e._event.srcElement.colorValue}; | ||
412 | } | ||
413 | // | ||
410 | this._popupChipBase.addEventListener('change', this, false); | 414 | this._popupChipBase.addEventListener('change', this, false); |
411 | this._popupChipBase.addEventListener('changing', this, false); | 415 | this._popupChipBase.addEventListener('changing', this, false); |
412 | // | 416 | // |