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:
chris moran
2020-06-30 06:19:29 -04:00
parent 083d0c90e2
commit d42b95bab9
3 changed files with 53 additions and 34 deletions

View File

@@ -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,