aboutsummaryrefslogtreecommitdiff
path: root/js/tools/modifier-tool-base.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-19 11:56:08 -0700
committerValerio Virgillito2012-07-19 11:56:08 -0700
commitc97f806fceb2a2e3c668b965e4f8e6fc047a3d9a (patch)
tree8e8d87b31fffb7163aff0634ba4128f08be66343 /js/tools/modifier-tool-base.js
parent6a49b632e0d7113ca7a6709e0a58097771512f20 (diff)
parentfc13ef1e806116bb7ece5bb06604fa4f5714a6ed (diff)
downloadninja-c97f806fceb2a2e3c668b965e4f8e6fc047a3d9a.tar.gz
Merge branch 'StageDrawingFixes' of https://github.com/mqg734/ninja into v0.7.1
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-xjs/tools/modifier-tool-base.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js
index 9b855e66..c772e36c 100755
--- a/js/tools/modifier-tool-base.js
+++ b/js/tools/modifier-tool-base.js
@@ -480,7 +480,6 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
480 if(this._target) 480 if(this._target)
481 { 481 {
482 this.isDrawing = true; 482 this.isDrawing = true;
483 this.application.ninja.stage.showSelectionBounds = false;
484 this._updateTargets(); 483 this._updateTargets();
485 484
486 if(this._canSnap) 485 if(this._canSnap)
@@ -798,7 +797,6 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
798 if(len === 1) 797 if(len === 1)
799 { 798 {
800 this.target = this.application.ninja.selectedElements[0]; 799 this.target = this.application.ninja.selectedElements[0];
801 drawUtils.addElement(this.target);
802 } 800 }
803 else 801 else
804 { 802 {
@@ -882,7 +880,6 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
882 new WebKitPoint(event.pageX, event.pageY)); 880 new WebKitPoint(event.pageX, event.pageY));
883 881
884 this.isDrawing = false; 882 this.isDrawing = false;
885 this.application.ninja.stage.showSelectionBounds = true;
886 if(this._escape) { 883 if(this._escape) {
887 this._escape = false; 884 this._escape = false;
888 return; 885 return;