diff options
author | Armen Kesablyan | 2012-05-17 14:01:38 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-17 14:01:38 -0700 |
commit | 6c8f3525b839e82cf43df43700a0160ee2c5458f (patch) | |
tree | 3fb801fa54b759c5568d75bb467e02652ce77c3e /js/tools/FillTool.js | |
parent | e8ae5db7ce7023b638375cbc27a3f7b7a2f77b23 (diff) | |
parent | 342c97ac9b727b22a7b0bfefca4d2a168bc3055b (diff) | |
download | ninja-6c8f3525b839e82cf43df43700a0160ee2c5458f.tar.gz |
Merge branch 'refs/heads/dom-architecture' into binding
Conflicts:
css/ninja.css
scss/imports/scss/_toolbar.scss
Signed-off-by: Armen Kesablyan <armen@motorola.com>
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 |