Highlight preferably spot at current timepoint #361
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR suggests the following change:
In case the highlighting is triggered from a branch view, try to highlight the spot in the branch at the current timepoint instead of the always the last spot in graph
Highlighting before this PR:
![current highlighting](https://private-user-images.githubusercontent.com/10515534/397000972-7a3c7525-8b82-483e-adbc-1d97eb72ce4b.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjM0NzcsIm5iZiI6MTczOTA2MzE3NywicGF0aCI6Ii8xMDUxNTUzNC8zOTcwMDA5NzItN2EzYzc1MjUtOGI4Mi00ODNlLWFkYmMtMWQ5N2ViNzJjZTRiLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAxMDYxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwYmJlNmFkMzQzMzAyNDRjOGQ1MDVlZmE1Nzg2Mzk1M2MzMzM5MGQ4Yzk5Y2U5Zjc4NTdiNjY0YTMzOGVhZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.I11wyRLhhy2JvB4JwqlOECvTwzEbS9G0iSxXWUOc6MY)
Highlight after this PR:
![adapted highlighting](https://private-user-images.githubusercontent.com/10515534/397000863-19fa2865-a1a4-4e84-ae4e-4f006044047d.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjM0NzcsIm5iZiI6MTczOTA2MzE3NywicGF0aCI6Ii8xMDUxNTUzNC8zOTcwMDA4NjMtMTlmYTI4NjUtYTFhNC00ZTg0LWFlNGUtNGYwMDYwNDQwNDdkLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAxMDYxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3NmY5MThiN2U5MDY4ODk5YTdhYjk5ZTNjODdkMTlmYmI0ZGE4MjNhODhjNjhmNGFiZjg1M2M5MGIxZGI2ZWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3ypLiySOO9geAEdxwfjSAnhWI0Zv5cFYemmmI2diWjQ)