mirror of
https://github.com/penpot/penpot.git
synced 2026-05-03 23:29:03 +00:00
🐛 Fixed remove fill to transparent color
This commit is contained in:
parent
ba7b2fd270
commit
28658cae73
@ -34,7 +34,7 @@
|
||||
(:fill-color-gradient shape)
|
||||
(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")
|
||||
:fillOpacity (:fill-opacity shape nil)})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user