Skip to content

Conversation

@asklar
Copy link
Member

@asklar asklar commented Oct 29, 2019

Some animations are sensitive to the center point of the element (e.g. rotation, scale). We were using 0.5*ActualSize to determine the center point. However this facade property was only added in 19h1 so it Comp crashed in RS5 when trying to parse an expression animation that references ActualSize.
This change makes it so we fallback to using CenterPoint instead if ActualSize isn't available.

Fixes #2996

Microsoft Reviewers: Open in CodeFlow

@asklar asklar requested a review from a team as a code owner October 29, 2019 00:45
@ghost ghost added the vnext label Oct 29, 2019
@ddalp
Copy link
Contributor

ddalp commented Oct 29, 2019

Looks like bad merge in this version. #Resolved

@asklar asklar closed this Oct 29, 2019
@asklar asklar reopened this Oct 29, 2019
Copy link
Contributor

@ddalp ddalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@asklar asklar merged commit 53ffe1b into microsoft:master Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when animating Transform property using native driver downlevel

2 participants