Bug fix: duplicate lines in specific conditions.
This commit is contained in:
parent
8beeca2822
commit
499e6ccb06
1 changed files with 4 additions and 0 deletions
|
|
@ -711,6 +711,10 @@ impl ShapeLine {
|
||||||
}
|
}
|
||||||
fitting_start = i;
|
fitting_start = i;
|
||||||
fit_x = start_x;
|
fit_x = start_x;
|
||||||
|
if i >= span.words.len() {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.rtl {
|
if self.rtl {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue