aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorPushkar Joshi2012-06-12 09:57:13 -0700
committerPushkar Joshi2012-06-12 09:57:13 -0700
commit0dd995834865202de1c51b1b4635f6515f54b1ea (patch)
treeff6ee79eb856b69c8f1e52ad3c9e217c898d7be5 /js/tools
parente170a58eb8905d98fcdad3d61d652dad45443019 (diff)
downloadninja-0dd995834865202de1c51b1b4635f6515f54b1ea.tar.gz
correct mouse cursor on mousemove
Diffstat (limited to 'js/tools')
-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 }