react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

Fix slow animation mode on Android

Open piaskowyk opened this issue 2 months ago • 2 comments

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 avatar May 14 '24 12:05 piaskowyk

@piaskowyk I believe PR title is confusing, I read it like "improve the performance of -normal- animations" 😅

efstathiosntonas avatar May 14 '24 12:05 efstathiosntonas

Hey, this PR is about our feature that slow down all animation for debugging purposes 😅

piaskowyk avatar May 14 '24 13:05 piaskowyk