aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools')
-rw-r--r--js/tools/bindingTool.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tools/bindingTool.js b/js/tools/bindingTool.js
index 3ebf319e..1430e090 100644
--- a/js/tools/bindingTool.js
+++ b/js/tools/bindingTool.js
@@ -57,8 +57,10 @@ exports.BindingTool = Montage.create(ModifierToolBase, {
57 this.doSelection(event); 57 this.doSelection(event);
58 if (this.application.ninja.selectedElements.length !== 0 ) { 58 if (this.application.ninja.selectedElements.length !== 0 ) {
59 this.selectedElement = this.application.ninja.selectedElements[0]; 59 this.selectedElement = this.application.ninja.selectedElements[0];
60 this.application.stage.bindingView.selectedElement = this.selectedElement; 60 } else {
61 this.selectedElement = null;
61 } 62 }
63 this.application.ninja.stage.bindingView.selectedElement = this.selectedElement;
62 this._isDrawing = false; 64 this._isDrawing = false;
63 } 65 }
64 //this.endDraw(event); 66 //this.endDraw(event);