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

BUG: Draw node circles as needed in SVG export #527

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

fedarko
Copy link
Collaborator

@fedarko fedarko commented Jun 23, 2021

Noticed that node circles were being left out of the SVG tree export, even when node circles are explicitly enabled for some or all nodes.

I believe this was happening because export-util.js hadn't been updated in light of #486's changes:

if (drawer.showTreeNodes) {

The Drawer.showTreeNodes flag was removed in #486, so I guess thanks to Javascript's magic if (drawer.showTreeNodes) will always silently evaluate to undefined (aka false) ._.

This PR fixes this problem. Fortunately, the way #486 is set up seemed to make it pretty easy to get this working again.

@kwcantrell
Copy link
Collaborator

Thanks for fix this @fedarko!

@kwcantrell kwcantrell merged commit ebbc1e7 into biocore:master Jul 7, 2021
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