diff options
author | Jose Antonio Marquez | 2012-04-16 14:37:52 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-04-16 14:37:52 -0700 |
commit | 154d1a8fdbbe050dbfc97cd13baa8981d8fc1e47 (patch) | |
tree | 18a1f0e3679c0eb993a9dedb537035d3861f49ac /js/controllers/elements | |
parent | 61ece4058e22ab8a9b1da0b00f4a38f7f74d57e4 (diff) | |
parent | 4b900ea5cd6bb77eb30cec8c03b9ec9fa662c1e9 (diff) | |
download | ninja-154d1a8fdbbe050dbfc97cd13baa8981d8fc1e47.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into FileIO
Diffstat (limited to 'js/controllers/elements')
-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", |