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

Made the snap point disappear immediately upon releasing the activation key #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pgervais
Copy link

Prior to this change, releasing the activation key ('v') would deactivate the addon without any visual feedback: the yellow snap point would only disappear after moving the mouse. This PR fixes this minor issue.

Prior state: when releasing the 'V' key, the yellow circle would only disappear after the mouse moved.
New state: when releasing the 'V' key, the yellow circle immediately disappears.

Also factored out the name of the key used to activate the plugin, to make it more obvious how to change it if needed.
@pgervais
Copy link
Author

This PR involves a little bit of refactoring which I think is beneficial to the code. Happy to drop any changes you deem not necessary.

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.

1 participant