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

Disable draw button while panning (or zooming) #301

Closed
Zacrain opened this issue Sep 14, 2024 · 1 comment · Fixed by #302
Closed

Disable draw button while panning (or zooming) #301

Zacrain opened this issue Sep 14, 2024 · 1 comment · Fixed by #302
Labels
enhancement New feature or request

Comments

@Zacrain
Copy link
Contributor

Zacrain commented Sep 14, 2024

Feature/enhancement description:
I'm using a graphic tablet and have set panning on one of the tablet buttons (which basically maps to middle mouse button). Since it may unintentionally happen that the pen's tip comes in contact with the tablet's surface when panning, it will simultaneously draw, as if holding middle mouse button and left mouse button at the same time.
In consequence I have to hit undo often or use the eraser more times than I would like to.

Therefore it would be great to disable being able to draw while panning or zooming. Adding that as an option for users who would like to retain the old behaviour for some reason would suit both user groups.

@Zacrain Zacrain added the enhancement New feature or request label Sep 14, 2024
@Zacrain
Copy link
Contributor Author

Zacrain commented Sep 14, 2024

I took the liberty to solve this problem myself. 😁 See PR #302 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant