-
Notifications
You must be signed in to change notification settings - Fork 72
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
Horizontal chromosome truncated moment before ending rotation back #109
Comments
By "on the rotation animation", do you mean during the rotation animation itself, or after it? The animation itself was slightly degraded as a side-effect of #102, but that fixed a more significant issue with distortion after rotation. If that isn't the issue you're describing, could you elaborate? |
Thanks for the recording; very helpful. I suspect the problem here has more to do with band labels than with horizontal orientation. Specifically, there is a brief but noticeable pause between when the rotation completes and when the chromosome and its labels are re-rendered. @matthewchan15, if you see a different issue, please further clarify. That pause between rotation completion and re-rendering likely occurs because expensive calculations on label overlap and hiding are done at that time. When band labels are being restored to a previous state (e.g. rotating back to horizontal, or rotated vertically for a second time), perhaps the previous layout can be cached in memory and retrieved, rather than re-calculated from scratch. |
Oh, I see the issue now. Steps to reproduce:
I welcome contributions to fix this; I probably won't get to it for a while. |
The ideogram rotates and renders in a weird way on the rotation animation. This is evident in the sample examples as well, just click on a chromosome-> https://eweitz.github.io/ideogram/mouse
The text was updated successfully, but these errors were encountered: