mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00
Negative offset fix
This commit is contained in:
parent
b0cbdacca7
commit
06a9e27617
@ -2079,7 +2079,7 @@ final class ChatListControllerNode: ASDisplayNode, UIGestureRecognizerDelegate {
|
||||
)))
|
||||
}
|
||||
|
||||
let mainDelta = resultingOffset - mainOffset
|
||||
let mainDelta = max(0.0, resultingOffset) - max(0.0, mainOffset)
|
||||
transition.updateSublayerTransformOffset(layer: self.mainContainerNode.layer, offset: CGPoint(x: 0.0, y: -mainDelta))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user