Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reenable ViewTransform unit tests for iOS #13642

Merged
merged 2 commits into from
Mar 29, 2023
Merged

Reenable ViewTransform unit tests for iOS #13642

merged 2 commits into from
Mar 29, 2023

Conversation

jfversluis
Copy link
Member

Description of Change

Reenables the transform unit tests for iOS which were unable to run before because of #3600

Issues Fixed

Fixes #13429

@jfversluis jfversluis marked this pull request as ready for review March 2, 2023 12:32
@jfversluis jfversluis marked this pull request as draft March 2, 2023 13:16
Comment on lines -40 to -43
var superLayer = layer.SuperLayer;
if (layer.Transform.IsIdentity && superLayer == null)
return new Matrix4x4();

Copy link
Member Author

Choose a reason for hiding this comment

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

This does fix the test and I don't see any visual change in the working of the transformations on iOS.

From what I gather on the line below we're already checking if the SuperLayer is null and else just take the identity matrix and apply the transform to whichever one comes out of that null coalescing?

But happy to have a more experts opinion here. I see @drasticactions did something around this area in #5206

@jfversluis jfversluis marked this pull request as ready for review March 10, 2023 12:41
@hartez hartez merged commit 6bba4b2 into main Mar 29, 2023
@hartez hartez deleted the fix-13429 branch March 29, 2023 15:21
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing Unit tests, device tests fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! platform/iOS 🍎 t/housekeeping ♻︎
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reinstate transform tests on iOS
4 participants