Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an adjustment to currentLineWidth comparisons when pushing greedy…
… line breaks (flutter#21356) This is similar to the workaround used for flutter#30347 The Minikin line breaker inserts greedy breaks based on a comparison of postBreak width and currentLineWidth. currentLineWidth is provided by the framework based on previous calls to Layout::measureText. That calculation may not exactly match the calculation of postBreak. This change ensures that breaks are only added if the difference between postBreak and currentLineWidth is significant. Fixes flutter#65419
- Loading branch information