Tweak the size of the new bloom to match Figma better. (#4039)

Also increase the resolution to reduce banding.
This commit is contained in:
Doug
2025-04-17 14:30:33 +01:00
committed by GitHub
parent 3a9cd44247
commit 2596f0a738

View File

@@ -65,9 +65,9 @@ struct NewBloomModifier: ViewModifier {
private var bloomGradient: some View {
LinearGradient(colors: [.compound._bgOwnPill, .clear], // This isn't the final gradient.
startPoint: .top,
endPoint: .bottom)
endPoint: .init(x: 0.5, y: 0.7))
.ignoresSafeArea(edges: .all)
.frame(width: 100, height: 100)
.frame(width: 256, height: 256)
}
}