mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
Merge branch 'UpdateClassMemberHandling' of https://github.com/mermaid-js/mermaid into UpdateClassMemberHandling
This commit is contained in:
@@ -381,8 +381,7 @@ export const drawNote = function (elem, note, conf, diagObj) {
|
||||
* @param {{ padding: string; textHeight: string }} conf The configuration for the member
|
||||
*/
|
||||
const addTspan = function (textEl, member, isFirst, conf) {
|
||||
const displayText = member.getDisplayDetails().displayText;
|
||||
const cssStyle = member.getDisplayDetails().cssStyle;
|
||||
const { displayText, cssStyle } = member.getDisplayDetails();
|
||||
const tSpan = textEl.append('tspan').attr('x', conf.padding).text(displayText);
|
||||
|
||||
if (cssStyle !== '') {
|
||||
|
Reference in New Issue
Block a user