aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorPushkar Joshi2012-05-30 09:49:57 -0700
committerPushkar Joshi2012-05-30 09:49:57 -0700
commit209ad51fc6efd86d1f472a1814a98fee7e75bb6c (patch)
treecd7412d5a5d9596cab4e226a615c0706c591d296 /js
parent4e3eeb3dbe12f9bbf370d178423a1cd2560e709d (diff)
downloadninja-209ad51fc6efd86d1f472a1814a98fee7e75bb6c.tar.gz
working version of the pen plus subtool
Diffstat (limited to 'js')
-rwxr-xr-xjs/tools/PenTool.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js
index 2974d37b..0532bdb3 100755
--- a/js/tools/PenTool.js
+++ b/js/tools/PenTool.js
@@ -418,6 +418,10 @@ exports.PenTool = Montage.create(ShapeTool, {
418 this._removeSelectedAnchorPoint(); 418 this._removeSelectedAnchorPoint();
419 return; 419 return;
420 } 420 }
421 if (this._subtool === this.SUBTOOL_PENPLUS){
422 //nothing to do for the pen plus subtool
423 return;
424 }
421 //if we're in ENTRY_SELECT_PATH mode AND we have not yet clicked on the endpoint AND if we have now clicked on the endpoint 425 //if we're in ENTRY_SELECT_PATH mode AND we have not yet clicked on the endpoint AND if we have now clicked on the endpoint
422 if (this._entryEditMode === this.ENTRY_SELECT_PATH && this._isPickedEndPointInSelectPathMode === false){ 426 if (this._entryEditMode === this.ENTRY_SELECT_PATH && this._isPickedEndPointInSelectPathMode === false){
423 var selAnchorIndex = this._selectedSubpath.getSelectedAnchorIndex(); 427 var selAnchorIndex = this._selectedSubpath.getSelectedAnchorIndex();