aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-13 09:57:04 -0800
committerNivesh Rajbhandari2012-02-13 09:57:04 -0800
commit297af408e671006366ac72f7eac1f64a5d742117 (patch)
treef779dd5bfc1c95bd30584159e56fb09fed30d0fa /js/tools
parent2edf68e0de786cdc92d5f41548fd61e6c77a57ec (diff)
downloadninja-297af408e671006366ac72f7eac1f64a5d742117.tar.gz
Fixed eyedropper tool to use new color routines.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools')
-rw-r--r--js/tools/EyedropperTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/EyedropperTool.js b/js/tools/EyedropperTool.js
index 795753d2..8bb986a3 100644
--- a/js/tools/EyedropperTool.js
+++ b/js/tools/EyedropperTool.js
@@ -102,7 +102,7 @@ exports.EyedropperTool = Montage.create(toolBase, {
102 var c = ElementsMediator.getColor(obj, true); 102 var c = ElementsMediator.getColor(obj, true);
103 if(c) 103 if(c)
104 { 104 {
105 var color = this.application.ninja.colorController.getColorObjFromCss(c); 105 var color = this.application.ninja.colorController.getColorObjFromCss(c.color.css);
106 if (color && color.value) { 106 if (color && color.value) {
107 color.value.wasSetByCode = true; 107 color.value.wasSetByCode = true;
108 color.value.type = 'changing'; 108 color.value.type = 'changing';