merge: 合并分类弧线方向修正
This commit is contained in:
commit
030a0e7986
1 file changed
+2
-2
@@ -573,8 +573,8 @@ class CategoryUnderlinePainter extends CustomPainter {
|
|||||||
..strokeWidth = _categoryUnderlineStrokeWidth
|
..strokeWidth = _categoryUnderlineStrokeWidth
|
||||||
..strokeCap = StrokeCap.round;
|
..strokeCap = StrokeCap.round;
|
||||||
final path = Path()
|
final path = Path()
|
||||||
..moveTo(1, size.height - 1)
|
..moveTo(1, 1)
|
||||||
..quadraticBezierTo(size.width / 2, 0, size.width - 1, size.height - 1);
|
..quadraticBezierTo(size.width / 2, size.height + 1, size.width - 1, 1);
|
||||||
canvas.drawPath(path, paint);
|
canvas.drawPath(path, paint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user