mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 07:49:43 +02:00
messageFont, noteFont, and actorFont getConfig() calls were not specifying the sequence object
take into account width of message over single actor for actors' max message width
This commit is contained in:
@@ -306,7 +306,7 @@ const config = {
|
||||
*/
|
||||
labelBoxHeight: 20,
|
||||
messageFont: () => {
|
||||
const c = getConfig();
|
||||
const c = getConfig().sequence;
|
||||
return {
|
||||
fontFamily: c.messageFontFamily,
|
||||
fontSize: c.messageFontSize,
|
||||
@@ -314,7 +314,7 @@ const config = {
|
||||
};
|
||||
},
|
||||
noteFont: () => {
|
||||
const c = getConfig();
|
||||
const c = getConfig().sequence;
|
||||
return {
|
||||
fontFamily: c.noteFontFamily,
|
||||
fontSize: c.noteFontSize,
|
||||
@@ -322,7 +322,7 @@ const config = {
|
||||
};
|
||||
},
|
||||
actorFont: () => {
|
||||
const c = getConfig();
|
||||
const c = getConfig().sequence;
|
||||
return {
|
||||
fontFamily: c.actorFontFamily,
|
||||
fontSize: c.actorFontSize,
|
||||
|
Reference in New Issue
Block a user