aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/elements
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-21 17:13:56 -0700
committerNivesh Rajbhandari2012-03-21 17:13:56 -0700
commit3987b73569e58843f2a91c0c6c4e4132f51ac247 (patch)
treec5e121861209f4067bf5c363e3a40e5bd515d0b4 /js/controllers/elements
parent52fac825174d16e3ff6875fc497d3f3cfaf4812c (diff)
downloadninja-3987b73569e58843f2a91c0c6c4e4132f51ac247.tar.gz
Do not set webkit-transform styles on elements unless 3d is used on them.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/controllers/elements')
-rwxr-xr-xjs/controllers/elements/element-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/elements/element-controller.js b/js/controllers/elements/element-controller.js
index 4f360bb9..9cba6d94 100755
--- a/js/controllers/elements/element-controller.js
+++ b/js/controllers/elements/element-controller.js
@@ -244,7 +244,7 @@ var ElementController = exports.ElementController = Montage.create(NJComponent,
244 else 244 else
245 { 245 {
246 var dist = this.application.ninja.stylesController.getPerspectiveDistFromElement(el, false); 246 var dist = this.application.ninja.stylesController.getPerspectiveDistFromElement(el, false);
247 if(dist === null) { 247 if(dist == null) {
248 dist = 1400; 248 dist = 1400;
249 } 249 }
250 250