Skip to content

Commit

Permalink
[Improvements] Added more tolerance in space between words for buildi…
Browse files Browse the repository at this point in the history
…ng a line
  • Loading branch information
jvalls-axa committed Jun 30, 2020
1 parent 5706bf3 commit cd79564
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -165,7 +165,7 @@ export class WordsToLineNewModule extends Module {
})
.reduce((a, b) => a + b, 0) /
(words.length - 1);
return Math.round(space * 1.2);
return Math.round(space * 2.5);
}

private commonWordsSpace(words: Word[], excludeIndex: number): number {
Expand Down

0 comments on commit cd79564

Please sign in to comment.