updated scroll animation to true
This commit is contained in:
parent
7c431974ac
commit
afc4d71f38
@ -541,7 +541,7 @@ open class Carousel: View {
|
|||||||
}
|
}
|
||||||
carouselScrollBar.scrubberId = position+1
|
carouselScrollBar.scrubberId = position+1
|
||||||
let yPos = scrollView.contentOffset.y
|
let yPos = scrollView.contentOffset.y
|
||||||
scrollView.setContentOffset(CGPoint(x: xPos, y: yPos), animated: false)
|
scrollView.setContentOffset(CGPoint(x: xPos, y: yPos), animated: true)
|
||||||
showPaginationControls()
|
showPaginationControls()
|
||||||
groupIndex = position-1
|
groupIndex = position-1
|
||||||
onChangePublisher.send(groupIndex)
|
onChangePublisher.send(groupIndex)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user