Merge commit '10b5386143955e6334fd29e225be49c3fe6e13d3'

This commit is contained in:
Ali 2022-10-23 20:53:49 +04:00
commit 32a16fd282

View File

@ -167,10 +167,7 @@ class ChatUnreadItemNode: ListViewItemNode {
strongSelf.backgroundNode.isHidden = true
backgroundContent.frame = strongSelf.backgroundNode.frame
if let (rect, containerSize) = strongSelf.absolutePosition {
var backgroundFrame = backgroundContent.frame
backgroundFrame.origin.x += rect.minX
backgroundFrame.origin.y += rect.minY
backgroundContent.update(rect: backgroundFrame, within: containerSize, transition: .immediate)
strongSelf.updateAbsoluteRect(rect, within: containerSize)
}
} else {
strongSelf.backgroundNode.isHidden = false