diff options
author | Eric Guzman | 2012-05-31 10:57:09 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-31 10:57:09 -0700 |
commit | 4e28e2d2a695d487b1bc127dce0a874691539ca8 (patch) | |
tree | b00dd9e992d1d9cb7bc9076464de76c4a627954e /js/tools | |
parent | e09efe3212e86ac794de3fc8ecfc6cdef7b15181 (diff) | |
parent | b7e33c16bab26f8ee0daa61f920cfdbcb7abc6e3 (diff) | |
download | ninja-4e28e2d2a695d487b1bc127dce0a874691539ca8.tar.gz |
Merge branch 'binding' of github.com:dhg637/ninja-internal into binding
Diffstat (limited to 'js/tools')
-rw-r--r-- | js/tools/bindingTool.js | 4 |
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); |