diff options
author | Jonathan Duran | 2012-04-04 11:21:46 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-04-04 11:21:46 -0700 |
commit | 04ca16276e73dbd238b42fd898f8b3cccc730f18 (patch) | |
tree | 95aee6605f1018550875812166d292554830d7ca /js/tools/TextTool.js | |
parent | 61404b1965ffe7011ec86953f853f0954ccc308d (diff) | |
parent | a11ef2eed7049835c8bdfa50a2b893632c46eaa0 (diff) | |
download | ninja-04ca16276e73dbd238b42fd898f8b3cccc730f18.tar.gz |
Merge branch 'refs/heads/NINJAmaster' into TimelineUber
Conflicts:
js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
js/tools/SelectionTool.js
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/tools/TextTool.js')
-rwxr-xr-x | js/tools/TextTool.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/TextTool.js b/js/tools/TextTool.js index d27a32bb..a58aacc6 100755 --- a/js/tools/TextTool.js +++ b/js/tools/TextTool.js | |||
@@ -95,7 +95,7 @@ exports.TextTool = Montage.create(DrawingTool, { | |||
95 | } else { | 95 | } else { |
96 | this.doSelection(event); | 96 | this.doSelection(event); |
97 | if (this.application.ninja.selectedElements.length !== 0 ) { | 97 | if (this.application.ninja.selectedElements.length !== 0 ) { |
98 | this.selectedElement = this.application.ninja.selectedElements[0]._element; | 98 | this.selectedElement = this.application.ninja.selectedElements[0]; |
99 | } | 99 | } |
100 | this._isDrawing = false; | 100 | this._isDrawing = false; |
101 | } | 101 | } |
@@ -144,7 +144,7 @@ exports.TextTool = Montage.create(DrawingTool, { | |||
144 | 144 | ||
145 | HandleDoubleClick: { | 145 | HandleDoubleClick: { |
146 | value: function(e) { | 146 | value: function(e) { |
147 | //this.application.ninja.selectedElements[0]._element.setAttribute("contenteditable", true); | 147 | //this.application.ninja.selectedElements[0].setAttribute("contenteditable", true); |
148 | 148 | ||
149 | //if (!this.application.ninja.textTool) { | 149 | //if (!this.application.ninja.textTool) { |
150 | 150 | ||