diff options
author | Valerio Virgillito | 2012-05-03 23:08:31 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-03 23:08:31 -0700 |
commit | 3542dab96689a54f97fff6fc654838c07c724517 (patch) | |
tree | 1c8a8a53985bb72a34ad302e402ffe24aec2f242 /js/controllers/elements/shapes-controller.js | |
parent | 24b483db367291b72170f969de78efcb1a9b95bd (diff) | |
parent | 60388a7d01d9e34b5cd15bd5cb190a610e4f9a0e (diff) | |
download | ninja-3542dab96689a54f97fff6fc654838c07c724517.tar.gz |
Merge branch 'tag-2.0' of github.com:mencio/ninja-internal into data-id
Conflicts:
js/components/tools-properties/tag-properties.reel/tag-properties.html
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/controllers/elements/shapes-controller.js')
-rwxr-xr-x | js/controllers/elements/shapes-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/elements/shapes-controller.js b/js/controllers/elements/shapes-controller.js index 8d7b74f0..e9a5f865 100755 --- a/js/controllers/elements/shapes-controller.js +++ b/js/controllers/elements/shapes-controller.js | |||
@@ -129,7 +129,7 @@ exports.ShapesController = Montage.create(CanvasController, { | |||
129 | el.elementModel.shapeModel.GLWorld.render(); | 129 | el.elementModel.shapeModel.GLWorld.render(); |
130 | break; | 130 | break; |
131 | case "useWebGl": | 131 | case "useWebGl": |
132 | canvas = njModule.NJUtils.makeNJElement("canvas", "Canvas", "shape", el.className, true); | 132 | canvas = njModule.NJUtils.make("canvas", el.className, this.application.ninja.currentDocument); |
133 | canvas.setAttribute("data-RDGE-id", njModule.NJUtils.generateRandom()); | 133 | canvas.setAttribute("data-RDGE-id", njModule.NJUtils.generateRandom()); |
134 | canvas.width = el.width; | 134 | canvas.width = el.width; |
135 | canvas.height = el.height; | 135 | canvas.height = el.height; |