Commit cb77bd44 authored by Hixie's avatar Hixie

Remove an infinity in layout code.

parent f2cc43a4
...@@ -50,7 +50,7 @@ class StatisticsBox extends RenderBox { ...@@ -50,7 +50,7 @@ class StatisticsBox extends RenderBox {
} }
void performResize() { void performResize() {
size = constraints.constrain(Size.infinite); size = constraints.biggest;
} }
void paint(PaintingContext context, Offset offset) { void paint(PaintingContext context, Offset offset) {
......
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