aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorPushkar Joshi2012-06-07 09:49:02 -0700
committerPushkar Joshi2012-06-07 09:49:02 -0700
commit763baf19f032c6fbae18963402b79d5d5510d923 (patch)
tree07873c1e70454135d7756e927118e4ff0880a301 /js/tools
parent2dca8a0aa69981bc2a81c4a68f9061aef861f0ea (diff)
downloadninja-763baf19f032c6fbae18963402b79d5d5510d923.tar.gz
change the PI to make it look like the fill color affects the brush stroke color
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 f85978ad..db369a88 100644
--- a/js/tools/BrushTool.js
+++ b/js/tools/BrushTool.js
@@ -138,7 +138,7 @@ exports.BrushTool = Montage.create(ShapeTool, {
138 } else { 138 } else {
139 colorArray = [1,1,1,0]; 139 colorArray = [1,1,1,0];
140 } 140 }
141 this._selectedBrushStroke.setStrokeColor(colorArray); 141 this._selectedBrushStroke.setFillColor(colorArray);
142 142
143 //add this point to the brush stroke in case the user does a mouse up before doing a mouse move 143 //add this point to the brush stroke in case the user does a mouse up before doing a mouse move
144 var currMousePos = hitRec.calculateStageWorldPoint(); 144 var currMousePos = hitRec.calculateStageWorldPoint();