We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33a71f commit 50ae42cCopy full SHA for 50ae42c
lively.morphic/rendering/font-metric.js
@@ -560,7 +560,7 @@ class DOMTextMeasure {
560
measuringState.emptySpace -= hit;
561
break;
562
case 'by-words':
563
- if (measuringState.wordLength < morph.width) {
+ if (measuringState.wordLength < emptySpace) {
564
if (measuringState.emptySpaceForWord < measuringState.wordLength && code !== 32) {
565
measuringState.virtualRow++;
566
measuringState.currentWord.forEach(entry => entry[1] = measuringState.virtualRow);
0 commit comments