mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Glass
This commit is contained in:
parent
3773777141
commit
2db08cde89
167 changed files with 4322 additions and 3473 deletions
|
|
@ -158,7 +158,7 @@ final class WallpaperEdgeEffectNodeImpl: ASDisplayNode, WallpaperEdgeEffectNode
|
|||
transition.updateFrame(node: self.contentNode, frame: CGRect(origin: CGPoint(x: 0.0, y: 0.0), size: containerSize))
|
||||
|
||||
if blur {
|
||||
let blurHeight: CGFloat = max(edge.size, bounds.height - 10.0)
|
||||
let blurHeight: CGFloat = max(edge.size, bounds.height - 20.0)
|
||||
let blurFrame = CGRect(origin: CGPoint(x: 0.0, y: edge.edge == .bottom ? (bounds.height - blurHeight) : 0.0), size: CGSize(width: bounds.width, height: blurHeight))
|
||||
let blurView: VariableBlurView
|
||||
if let current = self.blurView {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue