diff options
author | Valerio Virgillito | 2012-05-10 13:15:36 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-10 13:15:36 -0700 |
commit | 254e2f8ee3e915c7dafe445c724b88434fb52f28 (patch) | |
tree | 1248de2aa359b76f380eb4d1fadd999b89fa8fca /js/controllers/styles-controller.js | |
parent | 25e50eed8afbf86606ec5614194dc34f154feecb (diff) | |
parent | 2088ff54c96af4bd5c96075b74939b50c56f5f24 (diff) | |
download | ninja-254e2f8ee3e915c7dafe445c724b88434fb52f28.tar.gz |
Merge pull request #209 from mqg734/Dom-Architecture
Fixed 3d body styles bug.
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-x | js/controllers/styles-controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js index 647c0870..7707a826 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js | |||
@@ -1130,6 +1130,7 @@ var stylesController = exports.StylesController = Montage.create(Component, { | |||
1130 | 1130 | ||
1131 | getMatrixFromElement : { | 1131 | getMatrixFromElement : { |
1132 | value: function(element, isStage) { | 1132 | value: function(element, isStage) { |
1133 | isStage = false; | ||
1133 | var xformStr = this.getElementStyle(element, "-webkit-transform", true, isStage), | 1134 | var xformStr = this.getElementStyle(element, "-webkit-transform", true, isStage), |
1134 | mat; | 1135 | mat; |
1135 | 1136 | ||
@@ -1163,6 +1164,7 @@ var stylesController = exports.StylesController = Montage.create(Component, { | |||
1163 | 1164 | ||
1164 | getPerspectiveDistFromElement : { | 1165 | getPerspectiveDistFromElement : { |
1165 | value: function(element, isStage) { | 1166 | value: function(element, isStage) { |
1167 | isStage = false; | ||
1166 | var xformStr = this.getElementStyle(element, "-webkit-perspective", false, isStage), | 1168 | var xformStr = this.getElementStyle(element, "-webkit-perspective", false, isStage), |
1167 | dist; | 1169 | dist; |
1168 | 1170 | ||