fix(flutter): 调整分类弧线开口方向
This commit is contained in:
1 parent
5af70c345a
commit
420da29658
1 file changed
+2
-2
@@ -573,8 +573,8 @@ class CategoryUnderlinePainter extends CustomPainter {
|
||||
..strokeWidth = _categoryUnderlineStrokeWidth
|
||||
..strokeCap = StrokeCap.round;
|
||||
final path = Path()
|
||||
..moveTo(1, size.height - 1)
|
||||
..quadraticBezierTo(size.width / 2, 0, size.width - 1, size.height - 1);
|
||||
..moveTo(1, 1)
|
||||
..quadraticBezierTo(size.width / 2, size.height + 1, size.width - 1, 1);
|
||||
canvas.drawPath(path, paint);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user