mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix scroll position
This commit is contained in:
parent
526f09aff7
commit
a5a72d8e96
@ -2952,7 +2952,7 @@ open class ListView: ASDisplayNode, UIScrollViewAccessibilityDelegate, UIGesture
|
||||
let overflow = getOverflow(itemNode)
|
||||
offset = (self.visibleSize.height - insets.bottom) - itemNode.apparentFrame.maxY + itemNode.insets.top
|
||||
offset += overflow
|
||||
offset += 0.0 * floor(overflow - (self.visibleSize.height - insets.bottom - insets.top) * 0.5)
|
||||
offset -= floor((self.visibleSize.height - insets.bottom - insets.top) * 0.5)
|
||||
//offset += 100.0
|
||||
|
||||
//offset = (self.visibleSize.height - insets.bottom) - itemNode.apparentFrame.maxY + getOverflow(itemNode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user