diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/controllers/elements/shapes-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/elements/shapes-controller.js b/js/controllers/elements/shapes-controller.js index 3ada5f82..8d7b74f0 100755 --- a/js/controllers/elements/shapes-controller.js +++ b/js/controllers/elements/shapes-controller.js | |||
@@ -21,7 +21,7 @@ exports.ShapesController = Montage.create(CanvasController, { | |||
21 | switch(p) { | 21 | switch(p) { |
22 | case "strokeSize": | 22 | case "strokeSize": |
23 | this.setShapeProperty(el, "strokeSize", value); | 23 | this.setShapeProperty(el, "strokeSize", value); |
24 | var strokeInfo = value.split(" "); | 24 | var strokeInfo = njModule.NJUtils.getValueAndUnits(value); |
25 | val = this.GetValueInPixels(strokeInfo[0], strokeInfo[1]); | 25 | val = this.GetValueInPixels(strokeInfo[0], strokeInfo[1]); |
26 | 26 | ||
27 | // TODO - For now, just handle Line, Rectangle and Oval. Eventually, move this into each class's | 27 | // TODO - For now, just handle Line, Rectangle and Oval. Eventually, move this into each class's |