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

Account for scale when calculating sprite offset in SpriteView #5470

Merged

Conversation

eoineoineoin
Copy link
Contributor

When a sprite had a non-zero offset and was displayed in a SpriteView with non-unity scale, the position to draw the sprite was calculated incorrectly.

Before:
2024-09-28_13-11

After:
2024-09-28_13-26

I went through all the other SpriteViews after making this change to check that nothing broke. All looks fine.

@PJB3005 PJB3005 merged commit 342626a into space-wizards:master Sep 28, 2024
3 checks passed
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.

2 participants