aboutsummaryrefslogtreecommitdiff
path: root/js/tools/ShapeTool.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-17 11:07:23 -0700
committerValerio Virgillito2012-05-17 11:07:23 -0700
commit0e8ca026098e7abfaeb642643a21977490782922 (patch)
tree0419a3f3e927146aa2ebd5494370b3979375e414 /js/tools/ShapeTool.js
parent65cea92d839bcd25ea9094a0798190a4dc4bea35 (diff)
parentdb749e10fdff655c2f3b8336a8cc58bf4f389e2c (diff)
downloadninja-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/ShapeTool.js')
-rwxr-xr-xjs/tools/ShapeTool.js2
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