mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
LayoutAnimations: ensure that interpolated props are never null
Summary: ensure that interpolated props are never null Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D26271516 fbshipit-source-id: d012e530e92dabce1e0a7df8edf670e90367a892
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f0a599a112
commit
cc9a3e27c2
@@ -1658,6 +1658,7 @@ ShadowView LayoutAnimationKeyFrameManager::createInterpolatedShadowView(
|
||||
// Animate opacity or scale/transform
|
||||
mutatedShadowView.props = componentDescriptor.interpolateProps(
|
||||
progress, startingView.props, finalView.props);
|
||||
assert(mutatedShadowView.props != nullptr);
|
||||
|
||||
// Interpolate LayoutMetrics
|
||||
LayoutMetrics const &finalLayoutMetrics = finalView.layoutMetrics;
|
||||
|
||||
Reference in New Issue
Block a user