Combo update

This commit is contained in:
Ali
2021-05-25 19:00:50 +04:00
parent af59d15412
commit ef99bb604f
29 changed files with 408 additions and 154 deletions

View File

@@ -259,6 +259,8 @@ final class VoiceChatTileItemNode: ASDisplayNode {
if let shimmerNode = self.shimmerNode {
shimmerNode.updateAbsoluteRect(rect, within: containerSize)
}
let isVisible = rect.maxY >= 0.0 && rect.minY <= containerSize.height
self.videoNode?.updateIsEnabled(isVisible)
}
func update(size: CGSize, availableWidth: CGFloat, item: VoiceChatTileItem, transition: ContainedViewLayoutTransition) {