aboutsummaryrefslogtreecommitdiff
path: root/js/tools/PenTool.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-13 11:31:00 -0700
committerValerio Virgillito2012-03-13 11:31:00 -0700
commite464677ee84361d24c77896ee465555629f739dd (patch)
tree0e7b925f4dedf27f2684915e7e247e79c4a74aff /js/tools/PenTool.js
parent9f3307810541ca6f95d7ca6d1febe8afdcd2c101 (diff)
parent4ad1650f629e7e345eade52ed6dadc233b27cc45 (diff)
downloadninja-e464677ee84361d24c77896ee465555629f739dd.tar.gz
Merge pull request #111 from pushkarjoshi/pentool
Pentool
Diffstat (limited to 'js/tools/PenTool.js')
-rwxr-xr-xjs/tools/PenTool.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js
index 6897c003..60ef4f92 100755
--- a/js/tools/PenTool.js
+++ b/js/tools/PenTool.js
@@ -467,9 +467,9 @@ exports.PenTool = Montage.create(ShapeTool, {
467 if (this.application.ninja.colorController.colorToolbar.stroke.webGlColor){ 467 if (this.application.ninja.colorController.colorToolbar.stroke.webGlColor){
468 this._selectedSubpath.setStrokeColor(this.application.ninja.colorController.colorToolbar.stroke.webGlColor); 468 this._selectedSubpath.setStrokeColor(this.application.ninja.colorController.colorToolbar.stroke.webGlColor);
469 } 469 }
470 if (this.application.ninja.colorController.colorToolbar.fill.webGlColor){ 470 //if (this.application.ninja.colorController.colorToolbar.fill.webGlColor){
471 this._selectedSubpath.setFillColor(this.application.ninja.colorController.colorToolbar.fill.webGlColor); 471 // this._selectedSubpath.setFillColor(this.application.ninja.colorController.colorToolbar.fill.webGlColor);
472 } 472 //}
473 } //if this is a new path being rendered 473 } //if this is a new path being rendered
474 474
475 this._selectedSubpath.makeDirty(); 475 this._selectedSubpath.makeDirty();