diff options
author | Nivesh Rajbhandari | 2012-05-17 10:47:53 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-17 10:47:53 -0700 |
commit | db749e10fdff655c2f3b8336a8cc58bf4f389e2c (patch) | |
tree | e6833a73ea7e115fedf8c6e61ff7320dd32b6730 /js/tools | |
parent | 92fcb770aff434e994e7a39a61d8fac4a017dca0 (diff) | |
download | ninja-db749e10fdff655c2f3b8336a8cc58bf4f389e2c.tar.gz |
IKNinja-1628 - Can't draw shapes inside canvas after double-clicking into canvas.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/ShapeTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js index 0562dbc2..367ab78d 100755 --- a/js/tools/ShapeTool.js +++ b/js/tools/ShapeTool.js | |||
@@ -72,7 +72,7 @@ exports.ShapeTool = Montage.create(DrawingTool, { | |||
72 | if(!canvas.elementModel.shapeModel) { | 72 | if(!canvas.elementModel.shapeModel) { |
73 | canvas.elementModel.shapeModel = Montage.create(ShapeModel); | 73 | canvas.elementModel.shapeModel = Montage.create(ShapeModel); |
74 | } | 74 | } |
75 | this.application.ninja.elementMediator.addElements(canvas, canvas.elementModel.data); | 75 | this.RenderShape(drawData.width, drawData.height, drawData.planeMat, drawData.midPt, canvas); |
76 | } | 76 | } |
77 | } | 77 | } |
78 | 78 | ||