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

Snapping settings cleanup & geometry type-driven activation #5988

Merged
merged 2 commits into from
Feb 8, 2025

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Feb 7, 2025

This PR cleans up the snapping to angle settings by moving away from raw settings.{setValue,value}() functions in favor of the much nicer QML Settings item.

This in turn allows us to only enable snapping to angle for line and polygon layers to fix visual glitches when digitizing against points and geometryless layers.

@qfield-fairy
Copy link
Collaborator

@nirvn nirvn merged commit 75aa8e5 into master Feb 8, 2025
25 checks passed
@nirvn nirvn deleted the snapping_settings_cleanup branch February 8, 2025 02:57
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