Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "prerelease",
"comment": "Call StartAnimatiom on m_scaleCombined for ScaleX / ScaleY animations",
"packageName": "react-native-windows",
"email": "[email protected]",
"commit": "0a4543017e3778a5436828340c675bbb13600a6a",
"date": "2020-01-03T22:45:45.183Z",
"file": "D:\\projects\\react-native-windows\\change\\react-native-windows-2020-01-03-14-45-45-fix-subchannel-animation-reference.json"
}
4 changes: 2 additions & 2 deletions vnext/ReactUWP/Modules/Animated/PropsAnimatedNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ void PropsAnimatedNode::StartAnimations() {
uiElement.StartAnimation(m_translationCombined);
} else if (anim.second.Target() == L"Scale.X") {
m_subchannelPropertySet.StartAnimation(L"ScaleX", anim.second);
uiElement.StartAnimation(m_translationCombined);
uiElement.StartAnimation(m_scaleCombined);
} else if (anim.second.Target() == L"Scale.Y") {
m_subchannelPropertySet.StartAnimation(L"ScaleY", anim.second);
uiElement.StartAnimation(m_translationCombined);
uiElement.StartAnimation(m_scaleCombined);
} else {
uiElement.StartAnimation(anim.second);
}
Expand Down