From d45b72b0e683d307ce3e798769f19627416015db Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Wed, 25 Apr 2012 10:01:57 -0700 Subject: render the calligraphic brush stroke in realtime on a rotated canvas --- js/tools/BrushTool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/tools') diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js index 01350d1c..ab54d6bb 100644 --- a/js/tools/BrushTool.js +++ b/js/tools/BrushTool.js @@ -302,7 +302,7 @@ exports.BrushTool = Montage.create(ShapeTool, { var deltaX = -snapManager.getStageWidth()*0.5; var deltaY = -snapManager.getStageHeight()*0.5; var swToGlobalMat = ViewUtils.getStageWorldToGlobalMatrix(); - this._selectedBrushStroke.drawToContext(ctx, deltaX, deltaY, true, swToGlobalMat); + this._selectedBrushStroke.drawToContext(ctx, true, deltaX, deltaY, swToGlobalMat); /* origX=0;origY=0; -- cgit v1.2.3