Putting all labels in a tspan.

This will get all of them aligning the same way
This commit is contained in:
Jeff Avallone 2014-12-15 07:54:55 -05:00
parent 66d9b97a6f
commit f8ce2d8f40
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ export default {
group = this.container.group()
.addClass('label'),
rect = group.rect(),
text = group.text(0, 0, text);
text = group.text(0, 0, _.flatten([text]));
setTimeout(deferred.resolve.bind(deferred, group));
deferred.promise.then(() => {