aboutsummaryrefslogtreecommitdiff
path: root/js/panels/color/colorpopup-manager.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-25 15:22:43 -0700
committerJose Antonio Marquez2012-06-25 15:22:43 -0700
commit8a3c009fc6b0c9ec461627a631f19535047e951c (patch)
tree1beb94a6e97afb56f7c0f4e2c2e3f170ced2b03b /js/panels/color/colorpopup-manager.js
parenta86fe8c4939e30fe20e2058136b3e44e835ae32d (diff)
downloadninja-8a3c009fc6b0c9ec461627a631f19535047e951c.tar.gz
Fixing alpha binding bug
The chip popup alpha sliders were binding to the panel when they shouldn't, so added a check.
Diffstat (limited to 'js/panels/color/colorpopup-manager.js')
-rwxr-xr-xjs/panels/color/colorpopup-manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/color/colorpopup-manager.js b/js/panels/color/colorpopup-manager.js
index dc50154c..f04da850 100755
--- a/js/panels/color/colorpopup-manager.js
+++ b/js/panels/color/colorpopup-manager.js
@@ -206,7 +206,7 @@ exports.ColorPopupManager = Montage.create(Component, {
206 // 206 //
207 this._popupBase = ColorPanelPopup.create(); 207 this._popupBase = ColorPanelPopup.create();
208 this._popupBase.element = popup; 208 this._popupBase.element = popup;
209 this._popupBase.props = {x: x, y: y, side: side, align: align, wheel: true, palette: true, gradient: true, image: true, nocolor: true, history: true}; 209 this._popupBase.props = {x: x, y: y, side: side, align: align, wheel: true, palette: true, gradient: true, image: true, nocolor: true, history: true, panel: true};
210 this._popupBase.colorManager = this.colorManager; 210 this._popupBase.colorManager = this.colorManager;
211 // 211 //
212 this._popupBase.addEventListener('change', this, false); 212 this._popupBase.addEventListener('change', this, false);