aboutsummaryrefslogtreecommitdiff
path: root/js/tools/SelectionTool.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-06 17:04:34 -0700
committerValerio Virgillito2012-06-06 17:04:34 -0700
commit6442dcc0cc4088d28558a9c121c6a91cba3ff078 (patch)
tree8f2f2db6097104e44c8d87e11466d1f3124c7f3a /js/tools/SelectionTool.js
parent488ae8d98deb30009cb8b5b2da464fe52940050b (diff)
parent47e0e1f047e83b71c3f86812a45d33904201cc7a (diff)
downloadninja-6442dcc0cc4088d28558a9c121c6a91cba3ff078.tar.gz
Merge branch 'refs/heads/master' into element-model-fixes
Conflicts: js/tools/LineTool.js js/tools/ShapeTool.js Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-xjs/tools/SelectionTool.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 7b72a857..ed92b893 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -49,6 +49,8 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
49 49
50 startDraw: { 50 startDraw: {
51 value: function(event) { 51 value: function(event) {
52 this.drawData = null;
53
52 if(!this.application.ninja.selectedElements.length) 54 if(!this.application.ninja.selectedElements.length)
53 { 55 {
54 this._isSelecting = true; 56 this._isSelecting = true;