레벨업 때 행성에 표면 아우라가 떴다 사라짐

This commit is contained in:
Sn-Kinos
2026-10-22 01:25:27 +09:00
parent 6a1f97fbc2
commit 2836f07a71
2 changed files with 31 additions and 19 deletions
+2 -19
View File
@@ -970,25 +970,8 @@ class _SustainedAura extends CustomPainter {
final Color color;
final bool lowEffects;
@override
void paint(Canvas canvas, Size size) {
final c = size.center(Offset.zero);
final r = size.shortestSide * 0.82;
canvas.drawCircle(
c,
r,
Paint()
..shader = RadialGradient(
colors: [
Colors.transparent,
Colors.transparent,
const Color(0xFFC1B9FF).withValues(alpha: lowEffects ? 0.19 : 0.3),
color.withValues(alpha: lowEffects ? 0.1 : 0.17),
Colors.transparent,
],
stops: const [0, 0.50, 0.62, 0.76, 1],
).createShader(Rect.fromCircle(center: c, radius: r)),
);
}
void paint(Canvas canvas, Size size) =>
paintSurfaceAura(canvas, size, color, lowEffects: lowEffects);
@override
bool shouldRepaint(_SustainedAura old) =>