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

legend_height_ should be preserved after drawing the molecule #3520

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

greglandrum
Copy link
Member

Since legend_height_ is being zeroed out at the end of drawMolecules() subsequent calls to drawing commands end up producing incorrect results (vertically offset by legend_size_).
Here's an example:
image
The hexagons there are drawn using atom coordinates.

@greglandrum greglandrum added this to the 2020_09_2 milestone Oct 23, 2020
Copy link
Collaborator

@DavidACosgrove DavidACosgrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes sense. I think I just changed it back to how it was out of an apparently misplaced sense of tidiness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants