-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Lock map rotation #5266
Lock map rotation #5266
Conversation
lets open some space for "lock map rotation" by merging 3 rows in one.
also i must set proper icons for lock and unlock states.
Instead of using icon and toggle it we just use checkbox.
🎉 Ta-daaa, freshly created APKs are available for 11163de: arm64-android |
For mobile devices.
displayToast(qsTr('Coordinates copied to clipboard')); | ||
} | ||
checkable: true | ||
checked: qfieldSettings.enableMapRotation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The screenshot shows an alignment issue between icons and the checkbox. This should do it:
checked: qfieldSettings.enableMapRotation | |
checked: qfieldSettings.enableMapRotation | |
indicator.height: 20 | |
indicator.width: 20 | |
indicator.implicitHeight: 24 | |
indicator.implicitWidth: 24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioned in PR code review.
So in this PR i am going to add an option that enables or disables the mapRotation, so if user don't wants rotation it wont rotate accidentally.
In first step I merged 3 rows in
canvasMenu
. previously there was 3 row showing X, Y, Copy coordinates. Now we show all the info in one row.In second step I also added this option in Settings page.
Previous:
Current:
Settings: