Minor change.

This commit is contained in:
stonega 2021-02-16 22:57:58 +08:00
parent c4bf7fce60
commit 522481ad93
1 changed files with 2 additions and 2 deletions

View File

@ -1245,8 +1245,8 @@ class TabIndicator extends CustomPainter {
index == 2 || fraction == 0 ? _accentPaint : _paint);
if (fraction == 1) {
canvas.drawLine(
Offset(size.width/2 - indicatorSize / 2, size.height),
Offset(size.width/2 + indicatorSize / 2, size.height),
Offset(size.width / 2 - indicatorSize / 2, size.height),
Offset(size.width / 2 + indicatorSize / 2, size.height),
index == 1 || fraction == 0 ? _accentPaint : _paint);
}
}