diff options
author | Armen Kesablyan | 2012-05-30 15:30:38 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-30 15:30:38 -0700 |
commit | a581fb3c544ee2faeafbb75f7a3f5719f53cf323 (patch) | |
tree | c0c1c8354a9422a52f8bf322a56c94cf9a8ba526 /js/tools | |
parent | 81239571c538f72e398fafa5b07725bf1bbb2d5d (diff) | |
download | ninja-a581fb3c544ee2faeafbb75f7a3f5719f53cf323.tar.gz |
Visual Bindings Initial generate from Array.
Signed-off-by: Armen Kesablyan <armen@motorola.com>
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); |