mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Video Chat Improvements
This commit is contained in:
@@ -132,6 +132,14 @@ private final class CallVideoNode: ASDisplayNode {
|
||||
self.isReadyTimer?.invalidate()
|
||||
}
|
||||
|
||||
override func didLoad() {
|
||||
super.didLoad()
|
||||
|
||||
if #available(iOS 13.0, *) {
|
||||
self.layer.cornerCurve = .continuous
|
||||
}
|
||||
}
|
||||
|
||||
func animateRadialMask(from fromRect: CGRect, to toRect: CGRect) {
|
||||
let maskLayer = CAShapeLayer()
|
||||
maskLayer.frame = fromRect
|
||||
|
||||
Reference in New Issue
Block a user