diff options
author | Valerio Virgillito | 2012-06-28 14:08:06 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-28 14:08:06 -0700 |
commit | 3ba9accb8e1887bfd6f1f912b6135073a3d9c70c (patch) | |
tree | 82984e11a4103265674bb27161a3f76023f9caae /js/tools/OvalTool.js | |
parent | 56d6311f398e04eee3883a5c848fec3b2b53c981 (diff) | |
parent | c1a3bfcc53e4526d5bb54687ba18ccaaefa96fc2 (diff) | |
download | ninja-3ba9accb8e1887bfd6f1f912b6135073a3d9c70c.tar.gz |
Merge pull request #349 from joseeight/Color
Color
Diffstat (limited to 'js/tools/OvalTool.js')
-rwxr-xr-x | js/tools/OvalTool.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tools/OvalTool.js b/js/tools/OvalTool.js index ce812398..33bf763d 100755 --- a/js/tools/OvalTool.js +++ b/js/tools/OvalTool.js | |||
@@ -94,6 +94,9 @@ exports.OvalTool = Montage.create(ShapeTool, { | |||
94 | // TODO - update the shape's info only. shapeModel will likely need an array of shapes. | 94 | // TODO - update the shape's info only. shapeModel will likely need an array of shapes. |
95 | } | 95 | } |
96 | 96 | ||
97 | // TODO - This needs to be moved into geom obj's init routine instead of here | ||
98 | this.setColor(this.options.stroke, this.options.fill, canvas, "ovalTool"); | ||
99 | |||
97 | if(canvas.elementModel.isShape) | 100 | if(canvas.elementModel.isShape) |
98 | { | 101 | { |
99 | this.application.ninja.selectionController.selectElement(canvas); | 102 | this.application.ninja.selectionController.selectElement(canvas); |