Skip to content

Conversation

@n-gist
Copy link
Contributor

@n-gist n-gist commented May 16, 2023

When the graph is zoomed in, crosshair can select points out of view area, drawing lines off graph.
Below is example where the area on the left is caused by axisLabelWidth, so it is inside crosshair drawing canvas.

chBounds

The same happens on the right side when using rightGap. Filtered by checking selectedPoint.x to be in [0,1]

@mirabilos mirabilos merged commit 082cb0e into danvk:master Jan 11, 2025
@mirabilos
Copy link
Collaborator

mirabilos commented Jan 14, 2025 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.

2 participants