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

Selected/hovered contours can pass under normal ones. #112

Closed
MewPurPur opened this issue Oct 24, 2023 · 0 comments · Fixed by #122
Closed

Selected/hovered contours can pass under normal ones. #112

MewPurPur opened this issue Oct 24, 2023 · 0 comments · Fixed by #122
Assignees
Labels

Comments

@MewPurPur
Copy link
Owner

The draw calls are executed in order of the path commands. But that's wrong; instead, each color (selected/hovered/default) should have its lines/polylines saved in arrays for normal/selected/hovered and drawn at the end, first all normal ones, then all selected ones, then all hovered ones.

For a start, we could draw these as separate polylines, but ultimately it'll be a good idea to try to connect together lines into polylines as much as possible.

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

Successfully merging a pull request may close this issue.

1 participant