diff options
author | Jose Antonio Marquez | 2012-06-25 15:22:43 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-25 15:22:43 -0700 |
commit | 8a3c009fc6b0c9ec461627a631f19535047e951c (patch) | |
tree | 1beb94a6e97afb56f7c0f4e2c2e3f170ced2b03b /js/panels/color/colorpopup-manager.js | |
parent | a86fe8c4939e30fe20e2058136b3e44e835ae32d (diff) | |
download | ninja-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-x | js/panels/color/colorpopup-manager.js | 2 |
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); |