mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
61249b0887
Previous expression with noteWidth does not make sense as noteWidth is not used in case of note over two participants - forceWidth is used instead. It tried to be symmetrical over cases A,B and B,A but failed. Can be seen with messages over conf.width size (cannot reproduce in the live editor as it seems to use not the last version where the code does not use noteWidth). The changed code explicitly calculates which of the actors is the "left" one and starts rendering half margin to the left of its cetral line.