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

Resolves #6612 #6649

Merged
merged 1 commit into from
Dec 23, 2023
Merged

Resolves #6612 #6649

merged 1 commit into from
Dec 23, 2023

Conversation

calebfoss
Copy link
Contributor

Resolves #6612

Looks like I introduced this bug when adjusting these outputs to account for matrix transformations. Oops! I remembered to multiply the canvas dimensions by the pixel density in_getArea but not _getPos. Here I've added that multiplication to _getPos so that textOutput and gridOutput describe positions correctly on high density displays.

Changes:

Screenshots of the change:

PR Checklist

Copy link
Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

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

Ahh it was a pixelDensity problem, good catch and thanks for the fix!

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.

textOutput() describes position incorrectly
2 participants