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

Added nucleotide color options to the preferences menu #1354

Merged
merged 2 commits into from
Aug 26, 2023

Conversation

KevinCLydon
Copy link
Collaborator

Added the ability to set nucleotide color options to the preferences menu, under General > Nucleotide Colors.

Also modified SequenceRenderer to update nucleotide colors from preferences when a new SequenceRenderer is instantiated. This way, the colors will be updated when reloading the session or loading a new session. I'm not sure if this is the ideal solution to the problem of updating the colors without having to restart, so I'd be very happy to change it if there is a better way.

@jrobinso
Copy link
Contributor

Thanks @KevinCLydon . Re the colors, I think the simplest thing would be to just fetch the colors on each draw, I can't imagine we save much by caching these colors. I can make this change.

@jrobinso jrobinso merged commit 9fb023d into master Aug 26, 2023
2 checks passed
@jrobinso jrobinso deleted the kl_color_preferences_862 branch August 26, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants