Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Return scale for macOS window #36

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Return scale for macOS window #36

merged 1 commit into from
Nov 23, 2022

Conversation

dfrg
Copy link
Contributor

@dfrg dfrg commented Nov 23, 2022

This is so simple that I feel like something might be wrong. Seems to be what winit does though and gives me correct results.

Copy link
Contributor

@raphlinus raphlinus left a comment

Choose a reason for hiding this comment

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

Yes, seems almost easier to fix it than to talk about fixing it. I'm sure there will still be problems in the dynamic case of moving the window to a monitor with a different dpi scale, but that can be refined later.

@dfrg dfrg merged commit addd227 into main Nov 23, 2022
@dfrg dfrg deleted the macos-scale branch November 23, 2022 23:34
@raphlinus raphlinus mentioned this pull request Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants