aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorArmen Kesablyan2012-02-13 02:05:07 -0800
committerArmen Kesablyan2012-02-13 02:05:07 -0800
commit0bb13001ce07e5256a6e395325a898ab4ac93e1c (patch)
treef23c62b455a379fd99a29d9ed5d3c4f4ff760f5b /js/tools
parentce963d45cdf2703d2d4eedfa94394b178f86e0f1 (diff)
downloadninja-0bb13001ce07e5256a6e395325a898ab4ac93e1c.tar.gz
Fixed Color on text edit. Also Fixed Indent & Outdent button. toggle bullet and numbered now bound to text tool
Diffstat (limited to 'js/tools')
-rw-r--r--js/tools/TextTool.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/TextTool.js b/js/tools/TextTool.js
index 760af55b..4c464173 100644
--- a/js/tools/TextTool.js
+++ b/js/tools/TextTool.js
@@ -21,6 +21,7 @@ exports.TextTool = Montage.create(DrawingTool, {
21 this.selectedElement.innerHTML = this.application.ninja.stage.textTool.value; 21 this.selectedElement.innerHTML = this.application.ninja.stage.textTool.value;
22 this.application.ninja.stage.textTool.value = ""; 22 this.application.ninja.stage.textTool.value = "";
23 this.application.ninja.stage.textTool.element.style.display = "none"; 23 this.application.ninja.stage.textTool.element.style.display = "none";
24 this.applyElementStyles(this.application.ninja.stage.textTool.element.firstChild, this.selectedElement, ["color"]);
24 } 25 }
25 //Set Selected Element 26 //Set Selected Element
26 this._selectedElement = val; 27 this._selectedElement = val;