diff options
author | Jon Reid | 2012-04-13 10:41:01 -0700 |
---|---|---|
committer | Jon Reid | 2012-04-13 10:41:01 -0700 |
commit | 29ce0d26e543924d670583ed7d33313164d2f0ff (patch) | |
tree | 0c081a1ddd7a5be2c2a602acc1ec1146ed85d442 /js/controllers | |
parent | dfe348652aa5a54b25dbe0d8249bc289efb31e21 (diff) | |
parent | a6ba1c1621779866b2702aea11b6aeab4bfb466a (diff) | |
download | ninja-29ce0d26e543924d670583ed7d33313164d2f0ff.tar.gz |
Merge remote-tracking branch 'ninja-jduran/TimelineUber' into timeline-local
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/elements/element-controller.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/controllers/elements/element-controller.js b/js/controllers/elements/element-controller.js index 7ab6664f..2ac84452 100755 --- a/js/controllers/elements/element-controller.js +++ b/js/controllers/elements/element-controller.js | |||
@@ -264,6 +264,10 @@ exports.ElementController = Montage.create(Component, { | |||
264 | "-webkit-transform", | 264 | "-webkit-transform", |
265 | "matrix3d(" + MathUtils.scientificToDecimal(mat, 5) + ")"); | 265 | "matrix3d(" + MathUtils.scientificToDecimal(mat, 5) + ")"); |
266 | 266 | ||
267 | this.application.ninja.stylesController.setElementStyle(el, | ||
268 | "-webkit-transform-style", | ||
269 | "preserve-3d"); | ||
270 | |||
267 | // TODO - We don't support perspective on individual elements yet | 271 | // TODO - We don't support perspective on individual elements yet |
268 | // this.application.ninja.stylesController.setElementStyle(el, | 272 | // this.application.ninja.stylesController.setElementStyle(el, |
269 | // "-webkit-perspective", | 273 | // "-webkit-perspective", |