aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/SelectionTool.js1
-rwxr-xr-xjs/tools/modifier-tool-base.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index f9411f48..c00a2929 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -60,6 +60,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
60 else 60 else
61 { 61 {
62 this._canSnap = true; 62 this._canSnap = true;
63 this._updateTargets();
63 } 64 }
64 65
65 this.isDrawing = true; 66 this.isDrawing = true;
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js
index 94b806fd..f58ecb53 100755
--- a/js/tools/modifier-tool-base.js
+++ b/js/tools/modifier-tool-base.js
@@ -448,6 +448,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
448 { 448 {
449 this.isDrawing = true; 449 this.isDrawing = true;
450 this.application.ninja.stage.showSelectionBounds = false; 450 this.application.ninja.stage.showSelectionBounds = false;
451 this._updateTargets();
451 452
452 if(this._canSnap) 453 if(this._canSnap)
453 { 454 {
@@ -785,7 +786,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
785 { 786 {
786 this.target = this.application.ninja.currentDocument.documentRoot; 787 this.target = this.application.ninja.currentDocument.documentRoot;
787 } 788 }
788 this._updateTargets(); 789// this._updateTargets();
789 } 790 }
790 else 791 else
791 { 792 {