mirror of
https://github.com/typst/typst
synced 2025-08-11 21:57:55 +08:00
Add comments to test
Co-authored by: PgBiel <9021226+PgBiel@users.noreply.github.com>
This commit is contained in:
parent
a985d1a29c
commit
628e6f0fce
@ -660,6 +660,8 @@ $ A = mat(
|
|||||||
)
|
)
|
||||||
|
|
||||||
--- issue-5819-gradient-repeat ---
|
--- issue-5819-gradient-repeat ---
|
||||||
|
// Ensure the gradient constructor generates monotonic stops which can be fed
|
||||||
|
// back into the gradient constructor itself.
|
||||||
#let my-gradient = gradient.linear(red, blue).repeat(5)
|
#let my-gradient = gradient.linear(red, blue).repeat(5)
|
||||||
#let _ = gradient.linear(..my-gradient.stops())
|
#let _ = gradient.linear(..my-gradient.stops())
|
||||||
#let my-gradient2 = gradient.linear(red, blue).repeat(5, mirror: true)
|
#let my-gradient2 = gradient.linear(red, blue).repeat(5, mirror: true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user