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

bugfix for axes #76

Closed
itamago opened this issue Jul 7, 2020 · 2 comments
Closed

bugfix for axes #76

itamago opened this issue Jul 7, 2020 · 2 comments

Comments

@itamago
Copy link

itamago commented Jul 7, 2020

Hello,

Small bug when drawing several Begin/EndPlot with different sizes : the axis are based on the canvas BB of the previous Plot.

Quick fix : in implot.cpp move the lines 936-941 ("adaptive division") after the calculation of the canvas BB line 976. Then the axis will use the correct canvas BB (not the previous one)

Thx

@epezent
Copy link
Owner

epezent commented Jul 19, 2020

Thanks for the heads up. I'll get to this eventually. Feel free to submit a PR in the meantime.

@epezent
Copy link
Owner

epezent commented Jul 25, 2020

Fixed! e847aa7

@epezent epezent closed this as completed Jul 25, 2020
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

No branches or pull requests

2 participants