forked from firka/flutter
Invalidate the ParagraphSkia line metrics caches when redoing layout (flutter/engine#31138)
This commit is contained in:
@@ -161,6 +161,8 @@ bool ParagraphSkia::DidExceedMaxLines() {
|
||||
}
|
||||
|
||||
void ParagraphSkia::Layout(double width) {
|
||||
line_metrics_.reset();
|
||||
line_metrics_styles_.clear();
|
||||
paragraph_->layout(width);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user