aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/tools/PenTool.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js
index 7fc8dd95..3ffe0b62 100755
--- a/js/tools/PenTool.js
+++ b/js/tools/PenTool.js
@@ -619,6 +619,8 @@ exports.PenTool = Montage.create(ShapeTool, {
619 // TODO - update the shape's info only. shapeModel will likely need an array of shapes. 619 // TODO - update the shape's info only. shapeModel will likely need an array of shapes.
620 } 620 }
621 621
622 NJevent("elementAdded", newCanvas);
623
622 if(newCanvas.elementModel.isShape) 624 if(newCanvas.elementModel.isShape)
623 { 625 {
624 this.application.ninja.selectionController.selectElement(newCanvas); 626 this.application.ninja.selectionController.selectElement(newCanvas);