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:
parent
ba7b2fd270
commit
28658cae73
1 changed files with 1 additions and 1 deletions
|
@ -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)})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue