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

快速点击回丢次数 #6

Open
604775466 opened this issue Jan 8, 2020 · 2 comments
Open

快速点击回丢次数 #6

604775466 opened this issue Jan 8, 2020 · 2 comments

Comments

@604775466
Copy link

作者你好,快速点击的时候回出现丢次数的情况,请问有优化吗 q2054461

@604775466
Copy link
Author

[UIView animateWithDuration:0.3 animations:^{

    self.frame =CGRectMake(0, self.frame.origin.y, self.frame.size.width, self.frame.size.height);
    
    self.currentGiftCount = 0;
    [self setGiftCount:giftModel.defaultCount];
    
} completion:^(BOOL finished) {
    
    
}];

需要将进场动画 设置count的数量上移,否者在0.3秒进场之间会有bug

@songbai1211
Copy link

谢谢,确实有这个问题

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