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

Add looper mode assertions to ShadowChoreographer methods #7278

Merged
merged 0 commits into from Apr 29, 2022

Conversation

copybara-service[bot]
Copy link

Add looper mode assertions to ShadowChoreographer methods

It's error prone to call these methods with the wrong looper mode as they don't do anything, assert that the looper mode is supported. The caller can easily wrap the method call in a looper mode check if a test must support multiple looper modes (which is unusual).

Fixes a bug in the AnimationRunner where it was not incrementing the elapsed time for the animation by the correct increment for the paused looper.

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

Successfully merging this pull request may close these issues.

None yet

0 participants