diff options
| author | +merlan #flirora <uruwi@protonmail.com> | 2024-12-09 04:33:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-09 09:33:30 +0000 |
| commit | 73dd5a085e1d877da6768b3fe67a4238863ba00b (patch) | |
| tree | 8ee71727f7878cf786748c93cdb44002f842234a /tests/suite/visualize/rect.typ | |
| parent | 4729d3d3bdf52268d143b9fe0ba6b097eae32bf8 (diff) | |
Fix sizing of quadratic shapes (square/circle) (#5451)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Diffstat (limited to 'tests/suite/visualize/rect.typ')
| -rw-r--r-- | tests/suite/visualize/rect.typ | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/suite/visualize/rect.typ b/tests/suite/visualize/rect.typ index f84fafcb..5dfe29f3 100644 --- a/tests/suite/visualize/rect.typ +++ b/tests/suite/visualize/rect.typ @@ -105,3 +105,9 @@ #align(right, rect(width: -1cm, fill: gradient.linear(red, blue))[Reverse right]) #align(right, rect(width: 1cm, fill: gradient.linear(red, blue))[Right]) + +--- rect-size-beyond-default --- +// Test that setting a rectangle's height beyond its default sizes it correctly. +#rect() +#rect(height: 60pt) +#rect(width: 60pt) |
