aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/tools/PenTool.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js
index 52af294a..33ca5c71 100755
--- a/js/tools/PenTool.js
+++ b/js/tools/PenTool.js
@@ -539,7 +539,9 @@ exports.PenTool = Montage.create(ShapeTool, {
539 539
540 //set the cursor to be the default cursor (depending on whether the selected subpath has any points yet) 540 //set the cursor to be the default cursor (depending on whether the selected subpath has any points yet)
541 if (this._subtool===this.SUBTOOL_NONE){ 541 if (this._subtool===this.SUBTOOL_NONE){
542 if (this._selectedSubpath && this._selectedSubpath.getNumAnchors()>0){ 542 if ((this._selectedSubpath && this._selectedSubpath.getNumAnchors()>0 && !this._selectedSubpath.getIsClosed())
543 ||
544 this._entryEditMode === this.ENTRY_SELECT_PATH){
543 this.application.ninja.stage.drawingCanvas.style.cursor = //"auto"; 545 this.application.ninja.stage.drawingCanvas.style.cursor = //"auto";
544 "url('images/cursors/penCursors/Pen_.png') 5 1, default"; 546 "url('images/cursors/penCursors/Pen_.png') 5 1, default";
545 } 547 }