diff options
author | Nivesh Rajbhandari | 2012-03-21 17:13:56 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-21 17:13:56 -0700 |
commit | 3987b73569e58843f2a91c0c6c4e4132f51ac247 (patch) | |
tree | c5e121861209f4067bf5c363e3a40e5bd515d0b4 /js/controllers/elements | |
parent | 52fac825174d16e3ff6875fc497d3f3cfaf4812c (diff) | |
download | ninja-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-x | js/controllers/elements/element-controller.js | 2 |
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 | ||