Unverified Commit bae78a6f authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Fix RenderListTile actual baseline computation (#17915)

It should be calling `tile.getDistanceToActualBaseline()` rather than
`tile.getDistanceToBaseline()`.  This is causing us to hit assertions
`getDistanceToBaseline()`
parent e816b89a
......@@ -713,7 +713,7 @@ class _RenderListTile extends RenderBox {
double computeDistanceToActualBaseline(TextBaseline baseline) {
assert(title != null);
final BoxParentData parentData = title.parentData;
return parentData.offset.dy + title.getDistanceToBaseline(TextBaseline.alphabetic);
return parentData.offset.dy + title.getDistanceToActualBaseline(TextBaseline.alphabetic);
}
static double _boxBaseline(RenderBox box) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment