diff options
author | Jose Antonio Marquez | 2012-02-17 00:20:42 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-17 00:20:42 -0800 |
commit | 7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f (patch) | |
tree | 0a51be74f0d5b1f6c740cd1a9c79e00624a0c0af /js/controllers/elements/shapes-controller.js | |
parent | 9fe5d98bf469036c856e28d71ad4160d630b4af4 (diff) | |
parent | 18a42c37d080c03830c3f0a4156b81044e6309ee (diff) | |
download | ninja-7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into Color
Diffstat (limited to 'js/controllers/elements/shapes-controller.js')
-rwxr-xr-x | js/controllers/elements/shapes-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/controllers/elements/shapes-controller.js b/js/controllers/elements/shapes-controller.js index f69e6fc9..5ced8820 100755 --- a/js/controllers/elements/shapes-controller.js +++ b/js/controllers/elements/shapes-controller.js | |||
@@ -39,6 +39,7 @@ exports.ShapesController = Montage.create(CanvasController, { | |||
39 | break; | 39 | break; |
40 | case "useWebGl": | 40 | case "useWebGl": |
41 | var canvas = njModule.NJUtils.makeNJElement("canvas", "Canvas", "shape", el.className, true); | 41 | var canvas = njModule.NJUtils.makeNJElement("canvas", "Canvas", "shape", el.className, true); |
42 | canvas.setAttribute("data-RDGE-id", njModule.NJUtils.generateRandom()); | ||
42 | canvas.width = el.width; | 43 | canvas.width = el.width; |
43 | canvas.height = el.height; | 44 | canvas.height = el.height; |
44 | this.application.ninja.elementMediator.replaceElement(el, canvas); | 45 | this.application.ninja.elementMediator.replaceElement(el, canvas); |