aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools')
-rw-r--r--js/tools/BrushTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js
index 9e300554..4ce9976a 100644
--- a/js/tools/BrushTool.js
+++ b/js/tools/BrushTool.js
@@ -105,7 +105,7 @@ exports.BrushTool = Montage.create(ShapeTool, {
105 if (this.options.strokeAngle){ 105 if (this.options.strokeAngle){
106 strokeAngle= ShapesController.GetValueInPixels(this.options.strokeAngle.value, this.options.strokeAngle.units); 106 strokeAngle= ShapesController.GetValueInPixels(this.options.strokeAngle.value, this.options.strokeAngle.units);
107 } 107 }
108 this._selectedBrushStroke.setStrokeAngle(strokeAngle); 108 this._selectedBrushStroke.setStrokeAngle(Math.PI * -strokeAngle/180);
109 } else { 109 } else {
110 this._selectedBrushStroke.setStrokeUseCalligraphic(false); 110 this._selectedBrushStroke.setStrokeUseCalligraphic(false);
111 } 111 }