aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
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();