aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Duran2012-04-23 11:47:15 -0700
committerJonathan Duran2012-04-23 11:47:15 -0700
commit12fadd1494a9b5fcdaa17fde2f4847277237cf79 (patch)
tree8d913cec1ba9cbeccfe1a855f27e6c3210800309
parent0475cb7e37601366ec07d77fcea44269d3d49633 (diff)
downloadninja-12fadd1494a9b5fcdaa17fde2f4847277237cf79.tar.gz
Fix Brush tool not broadcasting elementAdded event
Signed-off-by: Jonathan Duran <jduran@motorola.com>
-rw-r--r--js/tools/BrushTool.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js
index 4347658a..34a3c3ff 100644
--- a/js/tools/BrushTool.js
+++ b/js/tools/BrushTool.js
@@ -343,6 +343,8 @@ exports.BrushTool = Montage.create(ShapeTool, {
343 // TODO - update the shape's info only. shapeModel will likely need an array of shapes. 343 // TODO - update the shape's info only. shapeModel will likely need an array of shapes.
344 } 344 }
345 345
346 NJevent("elementAdded", newCanvas);
347
346 //if(newCanvas.elementModel.isShape) 348 //if(newCanvas.elementModel.isShape)
347 if (true) 349 if (true)
348 { 350 {