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

拥有缓动的样式小于4个都会出现偏移情况 #10

Open
309791679 opened this issue Sep 24, 2020 · 0 comments
Open

拥有缓动的样式小于4个都会出现偏移情况 #10

309791679 opened this issue Sep 24, 2020 · 0 comments

Comments

@309791679
Copy link

指示器到达第三个后,往后滑动会偏移,原因应该是
if (progress > 0.5) {

}else{
    这个动画在缓动期间是小于0.5的,所以这个会执行,执行大于0.5后受到index影响才会归位
    问题是, 如果滑动过快 index 的数据是错乱的,只有在等待缓动结束后滑动 index 值才是正常的,这很明显不符合正常使用情况,这个问题就在这个插件上就无解了,没有办法通过判断index方式来终止此动画

}

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

1 participant