Merge pull request #91 from magnebra/add_text_config_options

Add config options for text
This commit is contained in:
Jeff Schiller
2016-03-19 22:35:11 -07:00
2 changed files with 8 additions and 3 deletions

View File

@@ -165,9 +165,9 @@ var all_properties = {
all_properties.text = $.extend(true, {}, all_properties.shape);
$.extend(all_properties.text, {
fill: '#000000',
stroke_width: 0,
font_size: 24,
font_family: 'serif'
stroke_width: curConfig.text.stroke_width,
font_size: curConfig.text.font_size,
font_family: curConfig.text.font_family
});
// Current shape style properties