diff --git a/lib/screens/timer/components/timeline/widget_timeline_timer.dart b/lib/screens/timer/components/timeline/widget_timeline_timer.dart index 481f87d..71c43f5 100644 --- a/lib/screens/timer/components/timeline/widget_timeline_timer.dart +++ b/lib/screens/timer/components/timeline/widget_timeline_timer.dart @@ -131,15 +131,16 @@ class _TimelinePainter extends CustomPainter { ); canvas.drawPath( - Path.combine( - PathOperation.union, - timelinePath, - smoothEdgesPath, - ), + timelinePath, + Paint()..color = progressColor, + ); + + canvas.drawPath( + smoothEdgesPath, Paint()..color = progressColor, ); } @override - bool shouldRepaint(_TimelinePainter oldDelegate) => true; + bool shouldRepaint(_TimelinePainter oldDelegate) => oldDelegate.progress != progress; }