Skip to content

rename size -> linewidth in element_rect and element_line #4956

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

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

thomasp85
Copy link
Member

Fix #4953

This fixes the oversight in the size to linewidth change in the element functions.

I believe I've fixed all instances of calls to the element_*() functions but please review carefully

@thomasp85
Copy link
Member Author

scratch that - my search didn't include tests and vignettes... will fix

@yutannihilation
Copy link
Member

This one also needs to be tweaked, but, as far as my regex-fu can detect (result), it looks good to me so far! I'll wait for the further fix on tests and vignettes.

#' size = 1

@thomasp85
Copy link
Member Author

okay @yutannihilation this seems ready for review now

Copy link
Member

@yutannihilation yutannihilation left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@thomasp85 thomasp85 merged commit 5ebe979 into main Aug 24, 2022
@thomasp85 thomasp85 deleted the issue-4953-element-linewidth branch August 24, 2022 10:38
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.

Should element_rect() and element_line() also use linewidth instead of size?
2 participants