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

Tweak search radius value to take into account Qt6's change from physical to logical DPI #4493

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jul 30, 2023

When we migrated to Qt6, we had to change our map canvas DPI from physical to logical DPI here (https://github.com/opengisch/QField/blob/master/src/core/qgsquick/qgsquickmapcanvasmap.cpp#L283). It resulted in a smaller search area on Android, which makes it quite hard to hit points.

The PR adjusts the value to be friendlier on highdpi screens using Qt6.

@qfield-fairy
Copy link
Collaborator

@nirvn nirvn merged commit 434d2c0 into master Jul 30, 2023
19 checks passed
@nirvn nirvn deleted the mm branch July 30, 2023 07:47
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.

2 participants