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

prevent certain keyboard shortcuts causing all work to be lost #10118

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

k-yle
Copy link
Contributor

@k-yle k-yle commented Feb 22, 2024

Closes #9398

Currently, if you press 1, 2, 3, or N while drawing a way, all your hard work is lost :(

This PR allows modes to specify when they are disabled, which is already possible for actions.

The modes for adding a point/line/area/note are now disabled if you are in a drawing mode.

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.

Shortcut 2 disaster
1 participant