fix: ambiguous range operator in confetti
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -216,7 +216,7 @@ struct SuccessConfettiView: View {
|
|||||||
color: Self.colors.randomElement()!.opacity(0.7),
|
color: Self.colors.randomElement()!.opacity(0.7),
|
||||||
size: CGFloat.random(in: 4...8),
|
size: CGFloat.random(in: 4...8),
|
||||||
x: CGFloat.random(in: -160...160),
|
x: CGFloat.random(in: -160...160),
|
||||||
startY: CGFloat.random(in: -120...-40),
|
startY: CGFloat.random(in: (-120)...(-40)),
|
||||||
endY: CGFloat.random(in: 500...900),
|
endY: CGFloat.random(in: 500...900),
|
||||||
drift: CGFloat.random(in: -60...60),
|
drift: CGFloat.random(in: -60...60),
|
||||||
delay: Double.random(in: 0.2...0.4),
|
delay: Double.random(in: 0.2...0.4),
|
||||||
|
|||||||
Reference in New Issue
Block a user