Use placeholder dimensions that reflect the final text layout (#42558)

The _computeChildren[Width/Height]With[Min/Max]Intrinsics methods in
RenderParagraph overwrite the text painter's placeholder dimensions
in order to compute potential widths and heights for the paragraph.

The placeholder dimensions should be restored to the values computed by
_layoutChildren before painting the text.
This commit is contained in:
Jason Simmons
2019-10-15 10:17:52 -07:00
committed by GitHub
parent 0821b759f5
commit fb33b7a1b8
3 changed files with 12 additions and 5 deletions

View File

@@ -1 +1 @@
fa13c1b039e693123888e434e4ee1f9ff79d3b6e
65bd07204149c4f7612bbf179cf088a2d69ca549