Putting all labels in a tspan.
This will get all of them aligning the same way
This commit is contained in:
parent
66d9b97a6f
commit
f8ce2d8f40
@ -48,7 +48,7 @@ export default {
|
|||||||
group = this.container.group()
|
group = this.container.group()
|
||||||
.addClass('label'),
|
.addClass('label'),
|
||||||
rect = group.rect(),
|
rect = group.rect(),
|
||||||
text = group.text(0, 0, text);
|
text = group.text(0, 0, _.flatten([text]));
|
||||||
|
|
||||||
setTimeout(deferred.resolve.bind(deferred, group));
|
setTimeout(deferred.resolve.bind(deferred, group));
|
||||||
deferred.promise.then(() => {
|
deferred.promise.then(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user