-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Mark Lines have Bad Anchors #247
Labels
Comments
Can you post the source used to generate the image? To get the start/end of a line use the |
johannes-wolf
added
question ❔
Further information is requested
and removed
bug 🐛
Something isn't working
labels
Oct 13, 2023
Sure, this is where it happens: #import "@preview/cetz:0.1.2": canvas, draw, tree
#canvas(length: 1cm, {
import draw: *
rect((0,0), (1,1), name: "rect")
line("rect.top", (rel: (0, 2)), mark: (start: ">"), stroke: 2pt)
}) Seems to be caused directly by the stroke. With default stroke it looks alright. |
This was referenced Oct 14, 2023
Fixed with #314. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See: #246. The anchors seem to get moved with the mark, which is wrong.
The text was updated successfully, but these errors were encountered: