Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix normalization of degrees in AnimatedInterpolation
Summary: This broke while changing the AnimatedInterpolation back in D40571873 and D40632443, as I assumed the native side would be able to correctly handle values such as '1rad'. However these were being sent over as strings, and were thus using the string interpolation path, which does not work here. Instead, handle both `deg` and `rad` explicitly when generating the config in JS. Resolves issue facebook#36608 Changelog: [General][Fixed] Resolves Animated.Value.interpolate results in NaN when output is in radians Differential Revision: D44406034 fbshipit-source-id: ea95f557d594a1f55bedd7c5e3a95ef36bc68ff2
- Loading branch information