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

Address issue #814 #1072

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

Address issue #814 #1072

wants to merge 1 commit into from

Conversation

alexpreynolds
Copy link
Collaborator

Description

What was changed in this pull request?

When the showMousePosition option is set to true and the mouse pointer moves over a non-2d track, x and y values are published internally that can cause another 2d track to draw nonsensical vertical or horizontal lines. This test clears the relevant value so that it cannot be used to render such lines.

Why is it necessary?

Fixes #814

Checklist

  • Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)
  • Unit tests added or updated
  • Documentation added or updated
  • Example(s) added or updated
  • Update schema.json if there are changes to the viewconf JSON structure format
  • Screenshot for visual changes (e.g. new tracks or UI changes)
  • Updated CHANGELOG.md

When the `showMousePosition` option is set to `true` and the mouse pointer moves over a non-2d track, x and y values are published internally that can cause another 2d track to draw nonsensical vertical or horizontal lines. This test clears the relevant value so that it cannot be used to render such lines.
@pkerpedjiev
Copy link
Member

Looks good! Gotta fix the dang tests (not your fault). Let me try to do that over the weekend and then we can merge it. Unless it's urgent.

@alexpreynolds
Copy link
Collaborator Author

alexpreynolds commented Dec 3, 2021 via email

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.

Multivec track shows horizontal crosshair when mouse pointer is not over multivec track
2 participants