Commit 984a39f4 authored by Adam Barth's avatar Adam Barth

Update box_painter.dart

parent 92ef38fd
......@@ -478,7 +478,7 @@ class BoxPainter {
double shortestSide = rect.shortestSide;
// In principle, we should use shortestSide / 2.0, but we don't want to
// run into floating point rounding errors. Instead, we just use
// shortestSide and let sky.Canvas do any remaning clamping.
// shortestSide and let sky.Canvas do any remaining clamping.
return _decoration.borderRadius > shortestSide ? shortestSide : _decoration.borderRadius;
}
......
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