aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/elements
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/elements')
-rwxr-xr-xjs/controllers/elements/stage-controller.js6
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);