mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Adjust blur
This commit is contained in:
parent
4a3c5e4089
commit
68ee038a36
@ -594,7 +594,7 @@ public final class PeerAvatarBottomShadowNode: ASDisplayNode {
|
|||||||
let baseGradientAlpha: CGFloat = 1.0
|
let baseGradientAlpha: CGFloat = 1.0
|
||||||
let numSteps = 8
|
let numSteps = 8
|
||||||
let firstStep = 1
|
let firstStep = 1
|
||||||
let firstLocation = 0.6
|
let firstLocation = 0.4
|
||||||
self.backgroundGradientMaskLayer.colors = (0 ..< numSteps).map { i in
|
self.backgroundGradientMaskLayer.colors = (0 ..< numSteps).map { i in
|
||||||
if i < firstStep {
|
if i < firstStep {
|
||||||
return UIColor(white: 1.0, alpha: 1.0).cgColor
|
return UIColor(white: 1.0, alpha: 1.0).cgColor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user