aboutsummaryrefslogtreecommitdiff
path: root/js/components
diff options
context:
space:
mode:
Diffstat (limited to 'js/components')
-rwxr-xr-xjs/components/tools-properties/text-properties.reel/text-properties.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/components/tools-properties/text-properties.reel/text-properties.js b/js/components/tools-properties/text-properties.reel/text-properties.js
index 72a6f034..c5729e98 100755
--- a/js/components/tools-properties/text-properties.reel/text-properties.js
+++ b/js/components/tools-properties/text-properties.reel/text-properties.js
@@ -296,14 +296,18 @@ exports.TextProperties = Montage.create(ToolProperties, {
296 296
297 handleFontSelectionChange: { 297 handleFontSelectionChange: {
298 value: function(e) { 298 value: function(e) {
299 this.application.ninja.stage.textTool.doAction("fontname", this.fontSelection.value);
300 this.application.ninja.stage.textTool.element.focus(); 299 this.application.ninja.stage.textTool.element.focus();
300 this.application.ninja.stage.textTool.doAction("fontname", this.fontSelection.value);
301
302 //Note: Set Font Color on selection to ColorChip Component;
303 //this.this.application.ninja.stage.textTool.foreColor
304
301 } 305 }
302 }, 306 },
303 307
304 handleFontColorChange: { 308 handleFontColorChange: {
305 value: function(e) { 309 value: function(e) {
306 this.application.ninja.stage.textTool.element.style.color = e._event.color.css; 310 this.application.ninja.stage.textTool.foreColor = e._event.color.css;
307 this.application.ninja.stage.textTool.element.focus(); 311 this.application.ninja.stage.textTool.element.focus();
308 //this.application.ninja.stage.textTool.doAction("forecolor",e._event.color.css); 312 //this.application.ninja.stage.textTool.doAction("forecolor",e._event.color.css);
309 313