mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-24 12:10:49 +00:00
Merge commit '10b5386143955e6334fd29e225be49c3fe6e13d3'
This commit is contained in:
commit
32a16fd282
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user