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

Improve rubberband zooming across elided regions #3302

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

cmdcolin
Copy link
Collaborator

Currently, rubberbanding selection+zoom in across ellided regions results in a inaccurate zoom

The reason comes down to assuming every region has an interRegionPaddingBlock but ellided regions do not

Can test on these links: rubberband zoom across the many ellided regions

main branch
https://jbrowse.org/code/jb2/main/?session=share-9S4NOE2u-q&password=Y1Uhn

this branch
https://jbrowse.org/code/jb2/improve_rubberband_ellided/?session=share-9S4NOE2u-q&password=Y1Uhn

Even this branch is not perfect, it seems to underestimate slightly, while main branch does overestimation

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Oct 31, 2022
@cmdcolin cmdcolin added bug Something isn't working and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Oct 31, 2022
@cmdcolin cmdcolin merged commit b3ae909 into main Oct 31, 2022
@cmdcolin cmdcolin deleted the improve_rubberband_ellided branch October 31, 2022 19:45
@cmdcolin cmdcolin changed the title Improve rubberband zooming across ellided regions Improve rubberband zooming across elided regions Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant