-
Notifications
You must be signed in to change notification settings - Fork 119
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
Does the ability to apply animations immediately exist? #8
Comments
When you set the value of fabButton.motion(.scale(2), .duration(0.01), .timingFunction(.easeOut)) All the best :) |
I confirmed that it works by the method I have given. However, this approach can be confusing, so please consider supporting .duration (0). Thank you for your reply. |
I am going to add this as a feature request :) I agree with you. |
Thank you daniel! |
This is now supported in the next release. Thank you! |
The fix for this issue is in Motion 1.1.0. |
I expected the transform to be applied when I applied .duration (0.0) in the motion (...) function, but it did not.
The animation application I want is as follows.
Cell.transform = CGAffineTransform (scaleX: 0, y: 0)
Cell.motion ([. Scale (1), .duration (defaultTimeInterval), .timingFunction (.easeOut)])
I applied the first line to cell.motion (.scale (0), .duration (0)), but internally it seems that the default of duration applies.
If .duration (0), can the transform be applied immediately?
I always appreciate quick answers.
The text was updated successfully, but these errors were encountered: