mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Shared media scrolling fixes
This commit is contained in:
parent
03a42480b1
commit
b4317011e5
@ -1015,6 +1015,10 @@ public final class SparseItemGrid: ASDisplayNode {
|
||||
guard let strongSelf = self else {
|
||||
return nil
|
||||
}
|
||||
if let decelerationAnimator = strongSelf.decelerationAnimator {
|
||||
strongSelf.decelerationAnimator = nil
|
||||
decelerationAnimator.invalidate()
|
||||
}
|
||||
strongSelf.items?.itemBinding.onBeginFastScrolling()
|
||||
return strongSelf.scrollView
|
||||
}
|
||||
|
@ -1067,7 +1067,7 @@ public final class SparseItemGridScrollingArea: ASDisplayNode {
|
||||
|
||||
//#if DEBUG
|
||||
//#else
|
||||
Queue.mainQueue().after(2.0, { [weak self] in
|
||||
Queue.mainQueue().after(5.0, { [weak self] in
|
||||
self?.dismissLineTooltip()
|
||||
})
|
||||
//#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user