aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorJonathan Duran2012-04-27 11:50:06 -0700
committerJonathan Duran2012-04-27 11:50:06 -0700
commit69dba9ace7a1b77f57ee418abfc2e0fd0e0a9896 (patch)
tree94a2b7a9c3e89173d3fb39246485bae46cf0f23a /js/tools
parentdcce4b47305bd67298893c6a3184b831ec28ac71 (diff)
downloadninja-69dba9ace7a1b77f57ee418abfc2e0fd0e0a9896.tar.gz
Refix brush tool elementAdded event
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/tools')
-rw-r--r--js/tools/BrushTool.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js
index 4e13bd43..ded56ecc 100644
--- a/js/tools/BrushTool.js
+++ b/js/tools/BrushTool.js
@@ -417,6 +417,9 @@ exports.BrushTool = Montage.create(ShapeTool, {
417 // TODO - update the shape's info only. shapeModel will likely need an array of shapes. 417 // TODO - update the shape's info only. shapeModel will likely need an array of shapes.
418 } 418 }
419 419
420 //now send the event that will add this canvas to the timeline
421 NJevent("elementAdded", newCanvas);
422
420 //if(newCanvas.elementModel.isShape) 423 //if(newCanvas.elementModel.isShape)
421 if (true) 424 if (true)
422 { 425 {