aboutsummaryrefslogtreecommitdiff
path: root/js/tools/SelectionTool.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/SelectionTool.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/SelectionTool.js')
-rwxr-xr-xjs/tools/SelectionTool.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 923ed819..a136113b 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -102,7 +102,6 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
102 } 102 }
103 103
104 this.isDrawing = true; 104 this.isDrawing = true;
105 this.application.ninja.stage.showSelectionBounds = false;
106 105
107 this._use3DMode = false; 106 this._use3DMode = false;
108 107
@@ -183,7 +182,6 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
183 point = webkitConvertPointFromPageToNode(this.application.ninja.stage.canvas, new WebKitPoint(event.pageX, event.pageY)); 182 point = webkitConvertPointFromPageToNode(this.application.ninja.stage.canvas, new WebKitPoint(event.pageX, event.pageY));
184 183
185 this.isDrawing = false; 184 this.isDrawing = false;
186 this.application.ninja.stage.showSelectionBounds = true;
187 if(this._escape) { 185 if(this._escape) {
188 this._escape = false; 186 this._escape = false;
189 this._isSelecting = false; 187 this._isSelecting = false;