aboutsummaryrefslogtreecommitdiff
path: root/js/tools/bindingTool.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-05-23 14:26:46 -0700
committerArmen Kesablyan2012-05-23 14:26:46 -0700
commit3ed95247e9ea4b0a7833401ed6809647b7c4acbf (patch)
tree7e1cfc186527973c4b327b21b00c6f3ae6921ed5 /js/tools/bindingTool.js
parent95bef3bbd77c6c3bd01b5222986f2dd35a7218b4 (diff)
downloadninja-3ed95247e9ea4b0a7833401ed6809647b7c4acbf.tar.gz
Binding Visual Tool Initial setup
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/tools/bindingTool.js')
-rw-r--r--js/tools/bindingTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/bindingTool.js b/js/tools/bindingTool.js
index 5953c409..3ebf319e 100644
--- a/js/tools/bindingTool.js
+++ b/js/tools/bindingTool.js
@@ -33,7 +33,6 @@ exports.BindingTool = Montage.create(ModifierToolBase, {
33 HandleLeftButtonDown: { 33 HandleLeftButtonDown: {
34 value: function(event) { 34 value: function(event) {
35 NJevent("enableStageMove"); 35 NJevent("enableStageMove");
36
37 } 36 }
38 }, 37 },
39 38
@@ -58,6 +57,7 @@ exports.BindingTool = Montage.create(ModifierToolBase, {
58 this.doSelection(event); 57 this.doSelection(event);
59 if (this.application.ninja.selectedElements.length !== 0 ) { 58 if (this.application.ninja.selectedElements.length !== 0 ) {
60 this.selectedElement = this.application.ninja.selectedElements[0]; 59 this.selectedElement = this.application.ninja.selectedElements[0];
60 this.application.stage.bindingView.selectedElement = this.selectedElement;
61 } 61 }
62 this._isDrawing = false; 62 this._isDrawing = false;
63 } 63 }