Fixed: width of notes left of and right of

This commit is contained in:
Chris Moran 2020-06-19 13:50:53 -04:00
parent 18254392ab
commit 809ba2b392
No known key found for this signature in database
GPG Key ID: FBD13F2A0E1B9152
1 changed files with 2 additions and 2 deletions

View File

@ -615,7 +615,7 @@ export const draw = function(text, id) {
noteWidth = shouldWrap
? conf.width
: Math.max(
actors[msg.from].width / 2 + actors[msg.to].width / 2 - conf.actorMargin,
actors[msg.from].width / 2 + actors[msg.to].width / 2,
textWidth + 2 * conf.noteMargin
);
if (shouldWrap) {
@ -636,7 +636,7 @@ export const draw = function(text, id) {
noteWidth = shouldWrap
? conf.width
: Math.max(
actors[msg.from].width / 2 + actors[msg.to].width / 2 - conf.actorMargin,
actors[msg.from].width / 2 + actors[msg.to].width / 2,
textWidth + 2 * conf.noteMargin
);
if (shouldWrap) {