diff options
author | Jonathan Duran | 2012-04-27 11:50:06 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-04-27 11:50:06 -0700 |
commit | 69dba9ace7a1b77f57ee418abfc2e0fd0e0a9896 (patch) | |
tree | 94a2b7a9c3e89173d3fb39246485bae46cf0f23a /js | |
parent | dcce4b47305bd67298893c6a3184b831ec28ac71 (diff) | |
download | ninja-69dba9ace7a1b77f57ee418abfc2e0fd0e0a9896.tar.gz |
Refix brush tool elementAdded event
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/tools/BrushTool.js | 3 |
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 | { |