0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fixed remove fill to transparent color

This commit is contained in:
alonso.torres 2021-01-14 08:21:05 +01:00
parent ba7b2fd270
commit 28658cae73

View file

@ -34,7 +34,7 @@
(:fill-color-gradient shape) (:fill-color-gradient shape)
(obj/merge! attrs #js {:fill (str/format "url(#%s)" fill-color-gradient-id)}) (obj/merge! attrs #js {:fill (str/format "url(#%s)" fill-color-gradient-id)})
(or (:fill-color shape) (:fill-opacity shape)) (not (:fill-color-gradient shape))
(obj/merge! attrs #js {:fill (or (:fill-color shape) "transparent") (obj/merge! attrs #js {:fill (or (:fill-color shape) "transparent")
:fillOpacity (:fill-opacity shape nil)}) :fillOpacity (:fill-opacity shape nil)})