Commit 2b25c33b authored by Andrew Wilson's avatar Andrew Wilson

Fix hairline border seen if border width is 0.0

parent 1245aa79
......@@ -763,6 +763,9 @@ class BoxPainter {
assert(_decoration.shape == Shape.circle);
assert(_decoration.borderRadius == null);
double width = _decoration.border.top.width;
if (width <= 0.0) {
return;
}
Paint paint = new Paint()
..color = _decoration.border.top.color
..strokeWidth = width
......
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