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 connector lines in the timeline #37

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

Conversation

TJBFTV
Copy link

@TJBFTV TJBFTV commented Feb 9, 2025

For events that share the same (approximate) time in the timeline, FTV draws connector lines. Sometimes these connector lines are not correct.

(The timeline below is in months; I adjusted the display on my system for three-digit numbers.)

connector lines before

In addition to the connector lines being wrong, the attach points for events on the vertical timeline are in the wrong places.

I finally found that the bug happens because of de-selected events in the Configuration > Appearance tab. In the example above, census events were de-selected, and there were census events before 1900.

This PR draws the timeline connector lines and the attach points correctly, see the results below.

connector lines after

@ztlxltl Ready for your review and comments or merging.

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