aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-01 21:14:17 -0800
committerNivesh Rajbhandari2012-02-01 21:14:17 -0800
commit01efeff045e7196bab37fc60f7030969ad650d6c (patch)
treecafdccd2b9ff511294cfd2a4ba2dc244b8ebb0d2 /js/panels
parent830b011d94d728882286d72e129f7405134957c7 (diff)
downloadninja-01efeff045e7196bab37fc60f7030969ad650d6c.tar.gz
Removed border special-casing from PI since the mediator now handles this generically. Updated mediator's set stroke routine to use the setColor routine.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/properties/content.reel/content.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/js/panels/properties/content.reel/content.js b/js/panels/properties/content.reel/content.js
index 34c38e70..6cb66071 100644
--- a/js/panels/properties/content.reel/content.js
+++ b/js/panels/properties/content.reel/content.js
@@ -198,7 +198,6 @@ exports.Content = Montage.create(Component, {
198 this.application.ninja.colorController.colorModel.input = "fill"; 198 this.application.ninja.colorController.colorModel.input = "fill";
199 } 199 }
200 200
201 debugger;
202 if(currentValue) 201 if(currentValue)
203 { 202 {
204 if(currentValue.mode === "gradient") 203 if(currentValue.mode === "gradient")
@@ -270,12 +269,6 @@ exports.Content = Montage.create(Component, {
270 269
271 e.units ? newValue = e.value + e.units : newValue = e.value; 270 e.units ? newValue = e.value + e.units : newValue = e.value;
272 271
273 if(e.prop === "border-width") {// || e.prop === "border-style") {
274 ElementsMediator.setProperty(this.application.ninja.selectedElements, "border-style", [this.customSections[0].content.controls.borderStyle], "Change", "pi");
275 } else if(e.prop === "border-style") {
276 ElementsMediator.setProperty(this.application.ninja.selectedElements, "border-width", [this.customSections[0].content.controls.borderWidth + "px"], "Change", "pi");
277 }
278
279 ElementsMediator.setProperty(this.application.ninja.selectedElements, e.prop, [newValue], "Change", "pi"); 272 ElementsMediator.setProperty(this.application.ninja.selectedElements, e.prop, [newValue], "Change", "pi");
280 273
281 } 274 }