diff options
author | Valerio Virgillito | 2012-06-08 13:06:19 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-08 13:06:19 -0700 |
commit | 95755a7fb204f41a08b32c0a94a93a2d69b8488d (patch) | |
tree | a5ce21cd24355f5cb782dffcf4775e1a2667bd2b /js/tools/BrushTool.js | |
parent | d14249dd2d76e9eb8d14733c10393d36bd2ea8ee (diff) | |
parent | ce9439ffaa82d5a2dd93dfa39da4f513c31f6824 (diff) | |
download | ninja-95755a7fb204f41a08b32c0a94a93a2d69b8488d.tar.gz |
Merge pull request #280 from pushkarjoshi/brushtool
Brushtool
Diffstat (limited to 'js/tools/BrushTool.js')
-rw-r--r-- | js/tools/BrushTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js index a360833a..5d983a93 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(); |