mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
🐛 Fix swatch error on text without fills (#7451)
This commit is contained in:
parent
57a7b5b1da
commit
31af6aebbd
@ -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])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user