mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Fix note text y position
This commit is contained in:
parent
93aa575697
commit
2a061fba07
@ -172,7 +172,7 @@ const drawNote = function (elem, startx, verticalPos, msg, forceWidth) {
|
|||||||
|
|
||||||
const textObj = svgDraw.getTextObj()
|
const textObj = svgDraw.getTextObj()
|
||||||
textObj.x = startx - 4
|
textObj.x = startx - 4
|
||||||
textObj.y = verticalPos - 13
|
textObj.y = verticalPos + 24
|
||||||
textObj.textMargin = conf.noteMargin
|
textObj.textMargin = conf.noteMargin
|
||||||
textObj.dy = '1em'
|
textObj.dy = '1em'
|
||||||
textObj.text = msg.message
|
textObj.text = msg.message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user