diff options
author | Eric Guzman | 2012-03-13 13:12:43 -0700 |
---|---|---|
committer | Eric Guzman | 2012-03-13 13:12:43 -0700 |
commit | 61fd46cad105f0a52afa028e5301b96120f00ab4 (patch) | |
tree | d8a7e23e1ea7d9b5c64a288822b7797bb19e50d4 /js/models | |
parent | 7e3161153b87b891875ac65368a19aed12909fa3 (diff) | |
parent | f56b8cf4d3316d250c0f0045fb78f0dbd5c56e94 (diff) | |
download | ninja-61fd46cad105f0a52afa028e5301b96120f00ab4.tar.gz |
Merge branch 'refs/heads/master' into CSSPanelUpdates
Conflicts:
js/controllers/styles-controller.js
Diffstat (limited to 'js/models')
-rwxr-xr-x | js/models/color-model.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/models/color-model.js b/js/models/color-model.js index 2c86422f..4189fbef 100755 --- a/js/models/color-model.js +++ b/js/models/color-model.js | |||
@@ -574,6 +574,9 @@ exports.ColorModel = Montage.create(Component, { | |||
574 | temp = this.hslToRgb(color.h/360, color.s/100, color.l/100); | 574 | temp = this.hslToRgb(color.h/360, color.s/100, color.l/100); |
575 | } else if (color.r !== undefined) { | 575 | } else if (color.r !== undefined) { |
576 | temp = color; | 576 | temp = color; |
577 | } else if (color.gradientMode) { | ||
578 | // TODO - Need to handle gradients at some point | ||
579 | return null; | ||
577 | } | 580 | } |
578 | temp.a = color.a; | 581 | temp.a = color.a; |
579 | } | 582 | } |