mirror of
https://github.com/penpot/penpot.git
synced 2026-09-06 12:09:24 +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
|
:shape shape
|
||||||
:attrs (conj txt/text-fill-attrs :fills)})
|
: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
|
text-values
|
||||||
(merge
|
(merge
|
||||||
(select-keys shape [:grow-type])
|
(select-keys shape [:grow-type])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user