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(api/dpi): fix toLogical and toPhysical for positions #11639

Merged

Conversation

dgerhardt
Copy link
Contributor

toLogical and toPhysical returned a position object with an incorrect y value. For toLogical this is a regression since 2.1.0.

Fixes #11638.

@dgerhardt dgerhardt requested a review from a team as a code owner November 10, 2024 20:28
Copy link
Contributor

github-actions bot commented Nov 10, 2024

Package Changes Through 441ad90

No changes.

Add a change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Copy link
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

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

Thank you, could you also add a change file in .changes directory?

@dgerhardt dgerhardt force-pushed the fix-11638-position-tological-tophysical branch from fb8e9ac to 4e78bb9 Compare November 11, 2024 07:54
`toLogical` and `toPhysical` returned a position object with an
incorrect `y` value. For `toLogical` this is a regression since 2.1.0.

Fixes tauri-apps#11638.
@dgerhardt dgerhardt force-pushed the fix-11638-position-tological-tophysical branch from 4e78bb9 to b470e13 Compare November 11, 2024 07:56
@dgerhardt
Copy link
Contributor Author

@amrbashir Added the changes file.

@dgerhardt dgerhardt requested a review from amrbashir November 11, 2024 07:58
@amrbashir amrbashir changed the title fix(api): fix toLogical and toPhysical for positions fix(api/dpi): fix toLogical and toPhysical for positions Nov 11, 2024
@amrbashir amrbashir merged commit 5e94354 into tauri-apps:dev Nov 11, 2024
13 of 14 checks passed
@dgerhardt dgerhardt deleted the fix-11638-position-tological-tophysical branch November 11, 2024 12:25
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.

[bug] toLogical/toPhysical (JS API) for positions broken since 2.1.0
2 participants