diff options
author | Armen Kesablyan | 2012-02-09 17:11:38 -0800 |
---|---|---|
committer | Armen Kesablyan | 2012-02-09 17:11:38 -0800 |
commit | ce963d45cdf2703d2d4eedfa94394b178f86e0f1 (patch) | |
tree | 13bc9d7acdac3777c48fce1de2ad4b8957d0886c /js/tools | |
parent | 10f0ad4c15f090b2d0d50d11e4c7aaf291e9eb0e (diff) | |
download | ninja-ce963d45cdf2703d2d4eedfa94394b178f86e0f1.tar.gz |
More Text Tool Updates
Diffstat (limited to 'js/tools')
-rw-r--r-- | js/tools/TextTool.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/TextTool.js b/js/tools/TextTool.js index 910a9eef..760af55b 100644 --- a/js/tools/TextTool.js +++ b/js/tools/TextTool.js | |||
@@ -39,6 +39,7 @@ exports.TextTool = Montage.create(DrawingTool, { | |||
39 | 39 | ||
40 | HandleLeftButtonDown: { | 40 | HandleLeftButtonDown: { |
41 | value: function(event) { | 41 | value: function(event) { |
42 | this.selectedElement = null; | ||
42 | this.startDraw(event); | 43 | this.startDraw(event); |
43 | } | 44 | } |
44 | }, | 45 | }, |
@@ -157,6 +158,7 @@ exports.TextTool = Montage.create(DrawingTool, { | |||
157 | 158 | ||
158 | if(wasSelected) { | 159 | if(wasSelected) { |
159 | NJevent("enableStageMove"); | 160 | NJevent("enableStageMove"); |
161 | this.options.defineInitialProperties(); | ||
160 | this.application.ninja.stage.stageDeps.snapManager.setupDragPlaneFromPlane( workingPlane ); | 162 | this.application.ninja.stage.stageDeps.snapManager.setupDragPlaneFromPlane( workingPlane ); |
161 | } else { | 163 | } else { |
162 | this.selectedElement = null; | 164 | this.selectedElement = null; |