mirror of
https://github.com/typst/typst
synced 2025-05-16 18:15:29 +08:00
Fixes #1216 both by hardening the rounded rectangle against negative size and by ensuring that the negative size doesn't occur in the first place for this case.