aboutsummaryrefslogtreecommitdiff
path: root/js/tools/bindingTool.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-05 12:55:34 -0700
committerArmen Kesablyan2012-06-05 12:55:34 -0700
commitcd089f6692934a68bda7c303928a7c78dd13ac07 (patch)
treea00ac46c5d64ecb4f2f750a5621489dbde9ac12a /js/tools/bindingTool.js
parent31ba58a349ae6b52e927ce4fb666927abf54aaa0 (diff)
downloadninja-cd089f6692934a68bda7c303928a7c78dd13ac07.tar.gz
Changes for binding View
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/tools/bindingTool.js')
-rw-r--r--js/tools/bindingTool.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/tools/bindingTool.js b/js/tools/bindingTool.js
index 6b541096..2d459a61 100644
--- a/js/tools/bindingTool.js
+++ b/js/tools/bindingTool.js
@@ -64,7 +64,7 @@ exports.BindingTool = Montage.create(ModifierToolBase, {
64 64
65 if(this._hasDraw) { 65 if(this._hasDraw) {
66 this._hasDraw = false; 66 this._hasDraw = false;
67 this.endDraw(event); 67 //this.endDraw(event);
68 } else { 68 } else {
69 this.doSelection(event); 69 this.doSelection(event);
70 if (this.application.ninja.selectedElements.length !== 0 ) { 70 if (this.application.ninja.selectedElements.length !== 0 ) {
@@ -74,8 +74,7 @@ exports.BindingTool = Montage.create(ModifierToolBase, {
74 } else { 74 } else {
75 this.selectedComponent = null; 75 this.selectedComponent = null;
76 } 76 }
77 this.application.ninja.stage.bindingView.selectedElement = this.selectedComponent; 77 this.application.ninja.stage.bindingView.selectedComponent = this.selectedComponent;
78 this.application.ninja.objectsController.currentObject = this.selectedComponent;
79 this._isDrawing = false; 78 this._isDrawing = false;
80 } 79 }
81 //this.endDraw(event); 80 //this.endDraw(event);