diff options
author | Jonathan Duran | 2012-04-23 11:47:15 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-04-23 11:47:15 -0700 |
commit | 12fadd1494a9b5fcdaa17fde2f4847277237cf79 (patch) | |
tree | 8d913cec1ba9cbeccfe1a855f27e6c3210800309 /js | |
parent | 0475cb7e37601366ec07d77fcea44269d3d49633 (diff) | |
download | ninja-12fadd1494a9b5fcdaa17fde2f4847277237cf79.tar.gz |
Fix Brush tool not broadcasting elementAdded event
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/tools/BrushTool.js | 2 |
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 | { |