aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-22 11:49:47 -0800
committerNivesh Rajbhandari2012-02-22 11:49:47 -0800
commitdae612ccef06a18eb7cccc2fd9d0db13ec4ef5f9 (patch)
tree6860d32df9bbf87397b9faea994d441044262517 /js
parentf775fb752cac57a0c1f6c42c8c60f5ff329eab32 (diff)
downloadninja-dae612ccef06a18eb7cccc2fd9d0db13ec4ef5f9.tar.gz
Do not use color object for stage's border since we don't allow users to modify the stage's border; we only need the border-width.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-xjs/controllers/elements/stage-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/elements/stage-controller.js b/js/controllers/elements/stage-controller.js
index f9adcda2..abad3736 100755
--- a/js/controllers/elements/stage-controller.js
+++ b/js/controllers/elements/stage-controller.js
@@ -78,7 +78,7 @@ exports.StageController = Montage.create(ElementController, {
78 case "background" : 78 case "background" :
79 return this.application.ninja.colorController.getColorObjFromCss(el.elementModel.stageBackground.style.getProperty(p)); 79 return this.application.ninja.colorController.getColorObjFromCss(el.elementModel.stageBackground.style.getProperty(p));
80 case "border": 80 case "border":
81 return this.application.ninja.colorController.getColorObjFromCss(el.elementModel.stageView.style.getProperty(p)); 81 return el.elementModel.stageView.style.getProperty(p);
82 case "height": 82 case "height":
83 return el.elementModel.stageDimension.style.getProperty(p); 83 return el.elementModel.stageDimension.style.getProperty(p);
84 case "width": 84 case "width":