Bug fix: duplicate lines in specific conditions.

This commit is contained in:
Hojjat 2022-12-17 19:18:48 -07:00 committed by Jeremy Soller
parent 8beeca2822
commit 499e6ccb06

View file

@ -711,6 +711,10 @@ impl ShapeLine {
}
fitting_start = i;
fit_x = start_x;
if i >= span.words.len() {
break;
}
continue;
}
if self.rtl {