diff options
author | Jose Antonio Marquez Russo | 2012-06-26 10:58:53 -0700 |
---|---|---|
committer | Jose Antonio Marquez Russo | 2012-06-26 10:58:53 -0700 |
commit | 6ce459a96df2a111dbae84cddab625dfb27b64a5 (patch) | |
tree | eccf5cea414ab9c4a0370b5316e34eae5ee14a9e /js/tools/LineTool.js | |
parent | 60356eeb3f38acadb87d4a3a9301a194941221d9 (diff) | |
parent | 2f0a29c2cc9fd399e392abfd6770caffb99fdbb5 (diff) | |
download | ninja-6ce459a96df2a111dbae84cddab625dfb27b64a5.tar.gz |
Merge pull request #38 from mqg734/Jose_Color
Added pre-flight support for gradients in Tag, Rect, Oval, Line, Brush and Pen tools.
Diffstat (limited to 'js/tools/LineTool.js')
-rwxr-xr-x | js/tools/LineTool.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tools/LineTool.js b/js/tools/LineTool.js index 07429bc0..fde09959 100755 --- a/js/tools/LineTool.js +++ b/js/tools/LineTool.js | |||
@@ -270,6 +270,9 @@ exports.LineTool = Montage.create(ShapeTool, { | |||
270 | // TODO - update the shape's info only. shapeModel will likely need an array of shapes. | 270 | // TODO - update the shape's info only. shapeModel will likely need an array of shapes. |
271 | } | 271 | } |
272 | 272 | ||
273 | // TODO - This needs to be moved into geom obj's init routine instead of here | ||
274 | this.setColor(this.options.stroke, null, canvas, "lineTool"); | ||
275 | |||
273 | if(canvas.elementModel.isShape) | 276 | if(canvas.elementModel.isShape) |
274 | { | 277 | { |
275 | this.application.ninja.selectionController.selectElement(canvas); | 278 | this.application.ninja.selectionController.selectElement(canvas); |