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

arc: Set previous point to arc end #360

Merged
merged 2 commits into from
Dec 4, 2023
Merged

arc: Set previous point to arc end #360

merged 2 commits into from
Dec 4, 2023

Conversation

johannes-wolf
Copy link
Member

@johannes-wolf johannes-wolf commented Nov 28, 2023

The arc command should update the previous point to its end-point.
This might be inconsistent, though, as there are no other commands setting the previous point to a non user-provided one. Should we add an option to enable/disable this @fenjalien?

@johannes-wolf johannes-wolf added bug 🐛 Something isn't working core:draw ✏️ labels Nov 28, 2023
@johannes-wolf johannes-wolf mentioned this pull request Nov 28, 2023
@johannes-wolf johannes-wolf linked an issue Nov 28, 2023 that may be closed by this pull request
@fenjalien
Copy link
Member

Yes this makes sense so then the previous coordinate can be used to form a path more easily. Lets have it on by default and give a style option to turn it off

@johannes-wolf johannes-wolf force-pushed the fix-arc-prev-pt branch 2 times, most recently from 1792a02 to c493875 Compare December 3, 2023 17:54
Copy link
Member

@fenjalien fenjalien left a comment

Choose a reason for hiding this comment

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

Make sure to update the changelog first!

src/draw/shapes.typ Outdated Show resolved Hide resolved
@johannes-wolf johannes-wolf merged commit c3ab713 into 0.2.0 Dec 4, 2023
2 checks passed
@johannes-wolf johannes-wolf deleted the fix-arc-prev-pt branch December 4, 2023 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working core:draw ✏️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

draw a bridge bug
2 participants