diff options
author | Jose Antonio Marquez | 2012-06-26 10:59:26 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-26 11:01:14 -0700 |
commit | dde59258c3979b990913ad1f14b0e55828a38906 (patch) | |
tree | 9530cb6497bf3eec43dec342cca13dab396e76f1 /js | |
parent | 6ce459a96df2a111dbae84cddab625dfb27b64a5 (diff) | |
download | ninja-dde59258c3979b990913ad1f14b0e55828a38906.tar.gz |
Fixing alpha memory bug on reopen
This is for the color chip
Diffstat (limited to 'js')
-rwxr-xr-x | js/panels/color/colorpopup-manager.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/color/colorpopup-manager.js b/js/panels/color/colorpopup-manager.js index 5676095d..b0a523ab 100755 --- a/js/panels/color/colorpopup-manager.js +++ b/js/panels/color/colorpopup-manager.js | |||
@@ -569,6 +569,7 @@ exports.ColorPopupManager = Montage.create(Component, { | |||
569 | } | 569 | } |
570 | // | 570 | // |
571 | if (color && color.a && !e._target.base.props.panel) { | 571 | if (color && color.a && !e._target.base.props.panel) { |
572 | e._target.base.colorManager.alpha = color.a; | ||
572 | e._target.base._components.combo.slider.value = color.a*100; | 573 | e._target.base._components.combo.slider.value = color.a*100; |
573 | } else if (!e._target.base.props.panel){ | 574 | } else if (!e._target.base.props.panel){ |
574 | e._target.base._components.combo.slider.value = 100; | 575 | e._target.base._components.combo.slider.value = 100; |