diff options
author | hwc487 | 2012-05-17 08:58:52 -0700 |
---|---|---|
committer | hwc487 | 2012-05-17 08:58:52 -0700 |
commit | a73034090b30d79a0722fc5d32e081f35d2c7f5c (patch) | |
tree | 1c7a8c519a3d2e2f52df73511281918c6c70449a /js/tools/FillTool.js | |
parent | cb37bee07085690d72e69a82e76cae9166e5f0f1 (diff) | |
parent | c37a876b373ddc7cb19277aaeaa6bb2d2d5a50ac (diff) | |
download | ninja-a73034090b30d79a0722fc5d32e081f35d2c7f5c.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into 3DBugs
Diffstat (limited to 'js/tools/FillTool.js')
-rwxr-xr-x | js/tools/FillTool.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/tools/FillTool.js b/js/tools/FillTool.js index 87a093ff..66dd9305 100755 --- a/js/tools/FillTool.js +++ b/js/tools/FillTool.js | |||
@@ -72,9 +72,9 @@ exports.FillTool = Montage.create(ModifierToolBase, { | |||
72 | value: function(event) { | 72 | value: function(event) { |
73 | this.isDrawing = true; | 73 | this.isDrawing = true; |
74 | 74 | ||
75 | if(this._canColor && this.application.ninja.selectedElements.length) | 75 | if(this._canColor && this.application.ninja.selectedElements.length) { |
76 | { | 76 | |
77 | var color = this.application.ninja.colorController.colorToolbar.fill, | 77 | var color = this.options.fill, |
78 | colorInfo; | 78 | colorInfo; |
79 | if(color && color.color) | 79 | if(color && color.color) |
80 | { | 80 | { |
@@ -92,5 +92,4 @@ exports.FillTool = Montage.create(ModifierToolBase, { | |||
92 | } | 92 | } |
93 | } | 93 | } |
94 | } | 94 | } |
95 | |||
96 | }); \ No newline at end of file | 95 | }); \ No newline at end of file |