mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-25 20:50:47 +00:00
Merge commit '10b5386143955e6334fd29e225be49c3fe6e13d3'
This commit is contained in:
commit
32a16fd282
@ -167,10 +167,7 @@ class ChatUnreadItemNode: ListViewItemNode {
|
|||||||
strongSelf.backgroundNode.isHidden = true
|
strongSelf.backgroundNode.isHidden = true
|
||||||
backgroundContent.frame = strongSelf.backgroundNode.frame
|
backgroundContent.frame = strongSelf.backgroundNode.frame
|
||||||
if let (rect, containerSize) = strongSelf.absolutePosition {
|
if let (rect, containerSize) = strongSelf.absolutePosition {
|
||||||
var backgroundFrame = backgroundContent.frame
|
strongSelf.updateAbsoluteRect(rect, within: containerSize)
|
||||||
backgroundFrame.origin.x += rect.minX
|
|
||||||
backgroundFrame.origin.y += rect.minY
|
|
||||||
backgroundContent.update(rect: backgroundFrame, within: containerSize, transition: .immediate)
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
strongSelf.backgroundNode.isHidden = false
|
strongSelf.backgroundNode.isHidden = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user