aboutsummaryrefslogtreecommitdiff
path: root/js/tools/bindingTool.js
diff options
context:
space:
mode:
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);