remove now unneeded code
This commit is contained in:
parent
600d9a977e
commit
4469387e4d
@ -436,7 +436,6 @@ extension Carousel: UIScrollViewDelegate {
|
||||
|
||||
// Disable peaking when dragging.
|
||||
dragging = true
|
||||
guard !UIAccessibility.isVoiceOverRunning else { return }
|
||||
|
||||
showPeaking(false)
|
||||
}
|
||||
@ -444,7 +443,6 @@ extension Carousel: UIScrollViewDelegate {
|
||||
public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
|
||||
|
||||
dragging = false
|
||||
guard !UIAccessibility.isVoiceOverRunning else { return }
|
||||
|
||||
// This is for setting up smooth custom paging. (Since UICollectionView only handles paging based on collection view size and not cell size). Math requires that we are using UICollectionViewFlowLayout.
|
||||
guard (model as? CarouselModel)?.paging == true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user