We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76487d commit ee71639Copy full SHA for ee71639
lively.morphic/rendering/font-metric.js
@@ -540,7 +540,7 @@ class DOMTextMeasure {
540
measuringState.emptySpace -= hit;
541
break;
542
case 'by-words':
543
- if (measuringState.wordLength < morph.width) {
+ if (measuringState.wordLength < emptySpace) {
544
if (measuringState.emptySpaceForWord < measuringState.wordLength && code !== 32) {
545
measuringState.virtualRow++;
546
measuringState.currentWord.forEach(entry => entry[1] = measuringState.virtualRow);
0 commit comments