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

Fix indicator diameter calculation #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

loserMcloser
Copy link
Contributor

arc_radius extends halfway into arc_thickness, so

int buffer_diameter = (arc_radius + arc_thickness) * 2;

is incorrect (plus it doesn't take into account the outer indicator border).

@loserMcloser loserMcloser force-pushed the fix-diameter branch 2 times, most recently from 3d94bf4 to 37f732c Compare May 31, 2021 18:57
@loserMcloser
Copy link
Contributor Author

Might want to add on an extra + 1 or + 2 onto the end of the formula for buffer_diameter as a safety buffer.

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

Successfully merging this pull request may close these issues.

None yet

1 participant