aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-04 10:21:20 -0700
committerNivesh Rajbhandari2012-04-04 10:21:20 -0700
commitdf0389e6a191ebbff4e4b5d6625007873c0737bd (patch)
tree59e15624574444f115d71fdfc716668b1ffb79ba /js/mediators
parent29df692bbe42150c2cb6a58587b9e9ae2d791389 (diff)
downloadninja-df0389e6a191ebbff4e4b5d6625007873c0737bd.tar.gz
Adjusting line's width and height when changing stroke size.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/mediators')
-rwxr-xr-xjs/mediators/element-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index 3eeab9c4..3182d5ec 100755
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -319,7 +319,7 @@ exports.ElementMediator = Montage.create(NJComponent, {
319 319
320 for(var i=0, item; item = els[i]; i++) { 320 for(var i=0, item; item = els[i]; i++) {
321 el = item._element || item; 321 el = item._element || item;
322 el.elementModel.controller["setProperty"](el, p, value[i]); 322 el.elementModel.controller["setProperty"](el, p, value[i], eventType, source);
323 } 323 }
324 324
325 NJevent("element" + eventType, {type : "setProperty", source: source, data: {"els": els, "prop": p, "value": value}, redraw: null}); 325 NJevent("element" + eventType, {type : "setProperty", source: source, data: {"els": els, "prop": p, "value": value}, redraw: null});