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

InternalUtils: Remove pixel_align method, and just round #1633

Merged
merged 1 commit into from Apr 7, 2023

Conversation

davidmhewitt
Copy link
Member

To get to the nearest physical pixel and fit on the grid, we just need to round to the nearest integer, we don't need to know the scale factor.

@davidmhewitt davidmhewitt requested a review from a team April 7, 2023 16:22
@davidmhewitt davidmhewitt merged commit 051534a into master Apr 7, 2023
4 checks passed
@davidmhewitt davidmhewitt deleted the davidmhewitt/pixel-align-rounding branch April 7, 2023 16:32
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.

None yet

2 participants