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

iOS: convert touch positions to physical #1551

Merged
merged 1 commit into from
May 4, 2020

Conversation

francesca64
Copy link
Member

Looks like this got missed whenever the DPI revamp happened. Touch works great on iOS with this change, though!

Tested on iPhone XR

@@ -1,6 +1,7 @@
# Unreleased

- On Windows, fix `WindowBuilder::with_maximized` being ignored.
- On iOS, touch positions are now properly converted to physical pixels.
Copy link

Choose a reason for hiding this comment

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

Looks like breaking changes.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm merely fixing a violation of our existing API guarantees. If anyone's relying on the current behavior, they're using the API incorrectly.

Copy link
Contributor

@ryanisaacg ryanisaacg left a comment

Choose a reason for hiding this comment

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

LGTM

@francesca64 francesca64 merged commit 007b195 into rust-windowing:master May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants