aboutsummaryrefslogtreecommitdiff
path: root/js/tools/LineTool.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools/LineTool.js')
-rw-r--r--js/tools/LineTool.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/tools/LineTool.js b/js/tools/LineTool.js
index 042ba0b2..a0d5a182 100644
--- a/js/tools/LineTool.js
+++ b/js/tools/LineTool.js
@@ -225,6 +225,10 @@ exports.LineTool = Montage.create(ShapeTool, {
225 canvas.elementModel.pi = "LinePi"; 225 canvas.elementModel.pi = "LinePi";
226 canvas.elementModel.shapeModel.strokeSize = this.options.strokeSize.value + " " + this.options.strokeSize.units; 226 canvas.elementModel.shapeModel.strokeSize = this.options.strokeSize.value + " " + this.options.strokeSize.units;
227 canvas.elementModel.shapeModel.stroke = strokeColor; 227 canvas.elementModel.shapeModel.stroke = strokeColor;
228 if(strokeColor)
229 {
230 canvas.elementModel.shapeModel.border = this.application.ninja.colorController.colorToolbar.stroke;
231 }
228 232
229 canvas.elementModel.shapeModel.strokeMaterial = strokeMaterial; 233 canvas.elementModel.shapeModel.strokeMaterial = strokeMaterial;
230 canvas.elementModel.shapeModel.strokeMaterialIndex = strokeIndex; 234 canvas.elementModel.shapeModel.strokeMaterialIndex = strokeIndex;