aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-01-31 17:30:53 -0800
committerNivesh Rajbhandari2012-01-31 17:30:53 -0800
commitaffafafc4db16e5f918c74dfc919025d4c563cc6 (patch)
treebae583f698d4993c52b31432b598bf4254f59bb0 /js/mediators
parentff700e7921b8e30b89e963c48888c8296ed16f52 (diff)
downloadninja-affafafc4db16e5f918c74dfc919025d4c563cc6.tar.gz
Updated color code to handle shapes.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/mediators')
-rw-r--r--js/mediators/element-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index 91b09475..4c34e668 100644
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -457,7 +457,7 @@ exports.ElementMediator = Montage.create(NJComponent, {
457 if(!currentValue) { 457 if(!currentValue) {
458 var that = this; 458 var that = this;
459 currentValue = els.map(function(item) { 459 currentValue = els.map(function(item) {
460 return that.getColor(item._element); 460 return that.getColor(item._element, isFill);
461 }); 461 });
462 } 462 }
463 463