Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if feels like it's a bit hard to scroll through the carousel? #19

Open
nimrodbens opened this issue Jul 24, 2022 · 1 comment
Open

if feels like it's a bit hard to scroll through the carousel? #19

nimrodbens opened this issue Jul 24, 2022 · 1 comment

Comments

@nimrodbens
Copy link

anyone else feels this way? is there any way to make it feel easier?

@tomisacat
Copy link

Modify ACarouselViewModel:

private func dragEnded(_ value: DragGesture.Value) {
    
    ....
    let dragThreshold: CGFloat = itemWidth / 3
    ....
}

change 3 to a bigger value to make dragThreshold smaller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants