Merge pull request #435 from whyzdev/issue428_fix_gantt_cli_cfg

fix gantt and sequence digram cli cfg
This commit is contained in:
Knut Sveidqvist
2016-12-14 12:43:50 +01:00
committed by GitHub
6 changed files with 41 additions and 37 deletions

View File

@@ -34,8 +34,8 @@ var conf = {
// width of activation box
activationWidth:10,
//text placement as: tspan | fo | <else> only text as before
textPlacement: 'fo',
//text placement as: tspan | fo | old only text as before
textPlacement: 'tspan',
};
exports.bounds = {

View File

@@ -326,6 +326,6 @@ var _drawTextCandidateFunc = (function() {
return function(conf) {
return conf.textPlacement==='fo' ? byFo : (
conf.textPlacement==='tspan' ? byTspan : byText);
conf.textPlacement==='old' ? byText: byTspan);
};
})();