diff options
author | Valerio Virgillito | 2012-05-17 11:07:23 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-17 11:07:23 -0700 |
commit | 0e8ca026098e7abfaeb642643a21977490782922 (patch) | |
tree | 0419a3f3e927146aa2ebd5494370b3979375e414 /js/tools | |
parent | 65cea92d839bcd25ea9094a0798190a4dc4bea35 (diff) | |
parent | db749e10fdff655c2f3b8336a8cc58bf4f389e2c (diff) | |
download | ninja-0e8ca026098e7abfaeb642643a21977490782922.tar.gz |
Merge pull request #242 from mqg734/Dom-Architecture
IKNinja-1628 - Can't draw shapes inside canvas after double-clicking into canvas.
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 | ||