diff options
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/elements/stage-controller.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/controllers/elements/stage-controller.js b/js/controllers/elements/stage-controller.js index f2c8fa2d..dc916b1a 100755 --- a/js/controllers/elements/stage-controller.js +++ b/js/controllers/elements/stage-controller.js | |||
@@ -84,7 +84,11 @@ exports.StageController = Montage.create(ElementController, { | |||
84 | case "width": | 84 | case "width": |
85 | return el.elementModel.stageDimension.style.getProperty(p); | 85 | return el.elementModel.stageDimension.style.getProperty(p); |
86 | case "-webkit-transform-style": | 86 | case "-webkit-transform-style": |
87 | return el.elementModel.stageView.style.getProperty(p); | 87 | if(el.id === "Viewport") { |
88 | return this.application.ninja.stylesController.getElementStyle(el, p, false, true); | ||
89 | } else { | ||
90 | return el.elementModel.stageView.style.getProperty(p); | ||
91 | } | ||
88 | default: | 92 | default: |
89 | return ElementController.getProperty(el, p, false, true); | 93 | return ElementController.getProperty(el, p, false, true); |
90 | //console.log("Undefined Stage property ", p); | 94 | //console.log("Undefined Stage property ", p); |