aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/tools/SelectionTool.js10
-rwxr-xr-xjs/tools/modifier-tool-base.js10
2 files changed, 10 insertions, 10 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 6d8ff175..a2d8510e 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -123,14 +123,14 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
123 this.doDraw(event); 123 this.doDraw(event);
124 } else { 124 } else {
125 this._showFeedbackOnMouseMove(event); 125 this._showFeedbackOnMouseMove(event);
126 // if(this._canSnap) 126 if(this._canSnap)
127 // { 127 {
128 // this.doSnap(event); 128 this.doSnap(event);
129 // } 129 }
130 } 130 }
131 131
132 this.DrawHandles(this._delta); 132 this.DrawHandles(this._delta);
133 if(this._canSnap && this._isDrawing) 133 if(this._canSnap)
134 { 134 {
135 this.application.ninja.stage.stageDeps.snapManager.drawLastHit(); 135 this.application.ninja.stage.stageDeps.snapManager.drawLastHit();
136 } 136 }
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js
index 7892d015..7e950b03 100755
--- a/js/tools/modifier-tool-base.js
+++ b/js/tools/modifier-tool-base.js
@@ -828,14 +828,14 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
828 this.doDraw(event); 828 this.doDraw(event);
829 } else { 829 } else {
830 this._showFeedbackOnMouseMove(event); 830 this._showFeedbackOnMouseMove(event);
831// if(this._canSnap) 831 if(this._canSnap)
832// { 832 {
833// this.doSnap(event); 833 this.doSnap(event);
834// } 834 }
835 } 835 }
836 836
837 this.DrawHandles(this._delta); 837 this.DrawHandles(this._delta);
838 if(this._canSnap && this._isDrawing) 838 if(this._canSnap)
839 { 839 {
840 snapManager.drawLastHit(); 840 snapManager.drawLastHit();
841 } 841 }