未验证 提交 5ff43549 编写于 作者: J Jason Simmons 提交者: GitHub

Clear the line baselines when doing each pass of layout (#6058)

Fixes https://github.com/flutter/flutter/issues/20824
上级 2ff16263
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册