aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-17 16:42:13 -0700
committerValerio Virgillito2012-03-17 16:42:13 -0700
commitbcddcf118d4ce93e8a2519ed455c6e25a701ce74 (patch)
tree6a9258df557c6e13406dd96b26bbd1fef12e9c16 /js/controllers
parent11afad994a9ff5e3c8c43d8ad9cd2cf7d0147797 (diff)
downloadninja-bcddcf118d4ce93e8a2519ed455c6e25a701ce74.tar.gz
fixing the map styles and temporary disabling the 3d styles for elements.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/elements/element-controller.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/controllers/elements/element-controller.js b/js/controllers/elements/element-controller.js
index 70aba54e..efaa00ee 100755
--- a/js/controllers/elements/element-controller.js
+++ b/js/controllers/elements/element-controller.js
@@ -290,10 +290,10 @@ var ElementController = exports.ElementController = Montage.create(NJComponent,
290 value: function(el, props, index, update3DModel) { 290 value: function(el, props, index, update3DModel) {
291 var dist = props[index]["dist"], 291 var dist = props[index]["dist"],
292 mat = props[index]["mat"]; 292 mat = props[index]["mat"];
293 this.application.ninja.stylesController.setElementStyle(el, 293// this.application.ninja.stylesController.setElementStyle(el,
294 "-webkit-transform", 294// "-webkit-transform",
295 "perspective(" + dist + ") " + 295// "perspective(" + dist + ") " +
296 "matrix3d(" + MathUtils.scientificToDecimal(mat, 5) + ")"); 296// "matrix3d(" + MathUtils.scientificToDecimal(mat, 5) + ")");
297 297
298 el.elementModel.props3D.matrix3d = mat; 298 el.elementModel.props3D.matrix3d = mat;
299 el.elementModel.props3D.perspectiveDist = dist; 299 el.elementModel.props3D.perspectiveDist = dist;