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

Fix time error in ruler popup menu commands #78

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

Conversation

Giles314
Copy link

When using one of the 2 commands of the ruler popup menu that refers to the click position (either Create Marker or Set as Zero Point), the result is completely wrong. Huge time error occurs.

This fixes this issue which is caused by the location of the mouse erased when mouse button goes up which occurs way before the command is executed. It appears that it exists another variable that already memorize the click position until next click. Using this long-term variable instead of short-term one fixes the issue.

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