diff options
author | Nivesh Rajbhandari | 2012-02-13 09:57:04 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-13 09:57:04 -0800 |
commit | 297af408e671006366ac72f7eac1f64a5d742117 (patch) | |
tree | f779dd5bfc1c95bd30584159e56fb09fed30d0fa /js/tools | |
parent | 2edf68e0de786cdc92d5f41548fd61e6c77a57ec (diff) | |
download | ninja-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.js | 2 |
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'; |