mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Tweak the size of the new bloom to match Figma better. (#4039)
Also increase the resolution to reduce banding.
This commit is contained in:
@@ -65,9 +65,9 @@ struct NewBloomModifier: ViewModifier {
|
|||||||
private var bloomGradient: some View {
|
private var bloomGradient: some View {
|
||||||
LinearGradient(colors: [.compound._bgOwnPill, .clear], // This isn't the final gradient.
|
LinearGradient(colors: [.compound._bgOwnPill, .clear], // This isn't the final gradient.
|
||||||
startPoint: .top,
|
startPoint: .top,
|
||||||
endPoint: .bottom)
|
endPoint: .init(x: 0.5, y: 0.7))
|
||||||
.ignoresSafeArea(edges: .all)
|
.ignoresSafeArea(edges: .all)
|
||||||
.frame(width: 100, height: 100)
|
.frame(width: 256, height: 256)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user