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

Fix improper list item rotation in VirtualizedScrollRectList (#534) #536

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

shaynie
Copy link
Contributor

@shaynie shaynie commented Nov 2, 2023

Add fix for #534

When using the VirtualizedScrollRectList, the pool item prefabs are spawned as children of scrollRect.content with an initial rotation of Quaternion.identity. If the ScollRect or content are rotated, this will spawn the pool items at an angle to the ScrollRect whereas the desired behaviour is probably to spawn them aligned.

This fix instantiates the list items with the parent's rotation.

@shaynie shaynie changed the title Fix #534 Fix improper list item rotation in VirtualizedScrollRectList (#534) Nov 2, 2023
@shaynie shaynie merged commit f669f5a into MixedRealityToolkit:main Nov 2, 2023
4 checks passed
@AMollis AMollis added Type: Bug A problem with an existing feature that can be fixed with the next patched release. Package: UX Core The Project ux core package is impacted by this issue. labels Nov 3, 2023
@shaynie shaynie deleted the user/shaynie/fix534 branch August 27, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: UX Core The Project ux core package is impacted by this issue. Type: Bug A problem with an existing feature that can be fixed with the next patched release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants