Reverted index code changes in didSelect
This commit is contained in:
parent
64e11e8f7a
commit
e42aaec8db
@ -429,9 +429,6 @@ extension Carousel: UICollectionViewDelegate {
|
|||||||
adjustedIndex = adjustedIndex + numberOfPages
|
adjustedIndex = adjustedIndex + numberOfPages
|
||||||
}
|
}
|
||||||
model.selectedIndex = adjustedIndex
|
model.selectedIndex = adjustedIndex
|
||||||
currentIndex = adjustedIndex
|
|
||||||
pagingView?.currentIndex = adjustedIndex
|
|
||||||
updateModelIndex()
|
|
||||||
}
|
}
|
||||||
if let cell = collectionView.cellForItem(at: indexPath) as? CollectionTemplateItemProtocol {
|
if let cell = collectionView.cellForItem(at: indexPath) as? CollectionTemplateItemProtocol {
|
||||||
cell.didSelectCell(at: indexPath, delegateObject: delegateObject, additionalData: nil)
|
cell.didSelectCell(at: indexPath, delegateObject: delegateObject, additionalData: nil)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user