diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-08 10:20:24 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-08 10:20:24 +0200 |
| commit | 10ae0a2c2b54ee1dc1119de528fd209eea5284b4 (patch) | |
| tree | d17f758f81481f4ab2550bba287ed21e81542af6 /tests/typ | |
| parent | 4e5cc61599e58b93ea67a7ebd4e5da8550e571e0 (diff) | |
Fix line alignment
Fixes #1398. How this works for the other shapes is a hack, but the line was missing from that hack.
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/bugs/line-align.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/bugs/line-align.typ b/tests/typ/bugs/line-align.typ new file mode 100644 index 00000000..0518eaaa --- /dev/null +++ b/tests/typ/bugs/line-align.typ @@ -0,0 +1,5 @@ +// Test right-aligning a line and a rectangle. + +--- +#align(right, line(length: 30%)) +#align(right, rect()) |
