diff options
Diffstat (limited to 'js/tools/EyedropperTool.js')
-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'; |