Minor change.
This commit is contained in:
parent
c4bf7fce60
commit
522481ad93
|
@ -1245,8 +1245,8 @@ class TabIndicator extends CustomPainter {
|
||||||
index == 2 || fraction == 0 ? _accentPaint : _paint);
|
index == 2 || fraction == 0 ? _accentPaint : _paint);
|
||||||
if (fraction == 1) {
|
if (fraction == 1) {
|
||||||
canvas.drawLine(
|
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);
|
index == 1 || fraction == 0 ? _accentPaint : _paint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue