react-native-reanimated
react-native-reanimated copied to clipboard
Fix slow animation mode on Android
Summary
This PR fixes the issue of slow animations on Android. We utilize two different sources of timestamps on Android, so we need to slow down both of them instead of just one to fix the problem. Previously, almost all animations were canceled immediately after starting because the current frame timestamp was 10 times higher than the slowed-down start timestamp.
before | after |
---|---|
@piaskowyk I believe PR title is confusing, I read it like "improve the performance of -normal- animations" 😅
Hey, this PR is about our feature that slow down all animation for debugging purposes 😅