aboutsummaryrefslogtreecommitdiff
path: root/js/panels/color
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-28 10:36:03 -0700
committerJose Antonio Marquez2012-06-28 10:36:03 -0700
commit51e8d0420a8cc40478ec6f5701e1ed73d5cb0442 (patch)
tree22b08e9bd0152d6813cec3ed0be97cda2c5437b3 /js/panels/color
parent0fea630c01f82d964670bcc2084a638c5e4c5dc7 (diff)
downloadninja-51e8d0420a8cc40478ec6f5701e1ed73d5cb0442.tar.gz
Fixing init alpha issue
Diffstat (limited to 'js/panels/color')
-rwxr-xr-xjs/panels/color/colorpopup-manager.js2
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);