🐛 Fix swatch error on text without fills (#7451)

This commit is contained in:
Eva Marco 2025-10-07 10:08:46 +02:00 committed by GitHub
parent 57a7b5b1da
commit 31af6aebbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,12 +104,6 @@
:shape shape
:attrs (conj txt/text-fill-attrs :fills)})
fill-values
(if (not (contains? fill-values :fills))
;; Old fill format
{:fills [fill-values]}
fill-values)
text-values
(merge
(select-keys shape [:grow-type])