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

Add mobx transaction to multi-level synteny zoom #4703

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Dec 6, 2024

This might not fix anything but I had a rare issue where zooming in on multiple levels on a linear synteny view produced the wrong offsets and zoomed into a very tiny region when that wasn't what I selected. It is a hard-to-reproduce issue though so i can't necessarily tell whether this PR will fix it entirely, but this PR changes the code to use a 'mobx transaction' to make sure all zoom level changes are committed at the same time. It doesn't seem like this change would fix the issue

@cmdcolin cmdcolin merged commit 1409060 into main Dec 6, 2024
4 checks passed
@cmdcolin cmdcolin deleted the transaction_zoom branch December 6, 2024 18:56
@cmdcolin cmdcolin added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant