Test a complex sequence diagram

This commit is contained in:
Tyler Long
2018-03-13 10:54:39 +08:00
parent 37076d3d1f
commit 8a20a71906
3 changed files with 9 additions and 8 deletions

View File

@@ -180,7 +180,7 @@ const drawNote = function (elem, startx, verticalPos, msg, forceWidth) {
let textElem = svgDraw.drawText(g, textObj, rect.width - conf.noteMargin)
let textHeight = textElem[0][0].getBBox().height
let textHeight = (textElem._groups || textElem)[0][0].getBBox().height
if (!forceWidth && textHeight > conf.width) {
textElem.remove()
g = elem.append('g')