Fix RTL relayout being skipped for single-line text
This commit is contained in:
parent
f59d5354bf
commit
a11b828280
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ pub fn align(
|
||||||
|
|
||||||
needs_relayout = true;
|
needs_relayout = true;
|
||||||
} else if let Some(line) = buffer.lines.first_mut() {
|
} else if let Some(line) = buffer.lines.first_mut() {
|
||||||
needs_relayout = line.set_align(None);
|
needs_relayout |= line.set_align(None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue