-
Notifications
You must be signed in to change notification settings - Fork 199
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
keep zoom level when switching #829
Comments
Unfortunately, not that I'm aware of. It seems there are some inherent functional properties of the implementation that suggests there may be a number of corner cases to deal with. Noted. |
For Apollo, the plugin over-rides the onResize function to deal with this. I can point you to that code if you want to write your own plugin. |
thanks for the suggestion. I found the code at https://github.com/GMOD/Apollo and will take a look. Sean Davey On Nov 15, 2016, at 4:45 PM, Nathan Dunn <notifications@github.commailto:notifications@github.com> wrote: For Apollo, the plugin over-rides the onResize function to deal with this. I can point you to that code if you want to write your own plugin. — |
You can try here: https://github.com/GMOD/Apollo/blob/master/client/apollo/js/main.js#L219 https://github.com/GMOD/Apollo/blob/master/client/apollo/js/main.js#L219 Though there might be better ways to do this, as well. Nathan
|
looks great. thanks again. Sean Davey On Nov 15, 2016, at 4:51 PM, Nathan Dunn <notifications@github.commailto:notifications@github.com> wrote: You can try here: https://github.com/GMOD/Apollo/blob/master/client/apollo/js/main.js#L219 https://github.com/GMOD/Apollo/blob/master/client/apollo/js/main.js#L219 Though there might be better ways to do this, as well. Nathan
— |
Also, I had a problem with some customizations I was making and had to add this after that code. Again, not sure if it was the best way, but it worked:
|
This is an interesting one, because I can see how some users might want this behavior, but others might not. This sounds like a good idea for a plugin. |
we would like to be able to switch chromosomes (refseqs) without changing the zoom level. Is there an option already to do this? If not, can one please be added?
The text was updated successfully, but these errors were encountered: