mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Clear the line baselines when doing each pass of layout (#6058)
Fixes https://github.com/flutter/flutter/issues/20824
This commit is contained in:
parent
2ff1626335
commit
5ff43549dd
1
third_party/txt/src/txt/paragraph.cc
vendored
1
third_party/txt/src/txt/paragraph.cc
vendored
@ -434,6 +434,7 @@ void Paragraph::Layout(double width, bool force) {
|
||||
|
||||
records_.clear();
|
||||
line_heights_.clear();
|
||||
line_baselines_.clear();
|
||||
glyph_lines_.clear();
|
||||
code_unit_runs_.clear();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user