mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -67,7 +67,6 @@ public final class ListViewBackingView: UIView {
|
||||
override public func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||
if !self.isHidden, let target = self.target {
|
||||
if target.bounds.contains(point) {
|
||||
target.scroller.forceDecelerating = false
|
||||
if target.decelerationAnimator != nil {
|
||||
target.decelerationAnimator?.isPaused = true
|
||||
target.decelerationAnimator = nil
|
||||
@@ -836,6 +835,7 @@ open class ListView: ASDisplayNode, UIScrollViewAccessibilityDelegate, UIGesture
|
||||
}
|
||||
self.scrolledToItem = nil
|
||||
|
||||
self.scroller.forceDecelerating = false
|
||||
self.isDragging = true
|
||||
|
||||
self.beganInteractiveDragging(self.touchesPosition)
|
||||
|
||||
Reference in New Issue
Block a user