You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using set-style(mark: none) appears to work at first but any proceeding uses of marks error
Example:
#import"@preview/cetz:0.2.0": draw, canvas#canvas({
set-style(mark: /* Some use; not necessary for bug. */)
set-style(mark: none) // My first thought for how to unset the style
line((0,0), (1,1), mark: (symbol: ">")) // boom :(
})
The text was updated successfully, but these errors were encountered:
This is a bug, I guess we should either panic that the mark-style is none or not draw marks. But you can unset the mark style by setting mark: (begin: none, end: none).
If you want to temporarily set a style, you can also use groups for scoping. Setting mark: none completely removes the style, I do not think this is what you want.
Using
set-style(mark: none)
appears to work at first but any proceeding uses of marks errorExample:
The text was updated successfully, but these errors were encountered: