Skip to content

Commit a008e0a

Browse files
committed
ui: flip radar sweep gradient to align tail with rotation direction
1 parent f3054cf commit a008e0a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/features/location/presentation/radar_painter.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ class RadarPainter extends CustomPainter {
3737
startAngle: 0,
3838
endAngle: pi * 2,
3939
colors: [
40-
AppTheme.primaryGold.withValues(alpha: 0.2),
4140
AppTheme.primaryGold.withValues(alpha: 0.0),
41+
AppTheme.primaryGold.withValues(alpha: 0.2),
4242
],
43-
stops: const [0.0, 0.2],
43+
stops: const [0.75, 1.0],
4444
transform: GradientRotation(sweepAngle),
4545
).createShader(Rect.fromCircle(center: center, radius: radius));
4646

0 commit comments

Comments
 (0)