mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 17:18:21 -05:00
✨ Make shape transparent when no fill-color is assigned.
This commit is contained in:
parent
fee5b001e8
commit
62e2c1cc14
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
(defn extract-style-attrs
|
||||
[shape]
|
||||
(let [stroke-style (:stroke-style shape :none)
|
||||
attrs #js {:fill (:fill-color shape nil)
|
||||
attrs #js {:fill (or (:fill-color shape) "transparent")
|
||||
:fillOpacity (:fill-opacity shape nil)
|
||||
:rx (:rx shape nil)
|
||||
:ry (:ry shape nil)}]
|
||||
|
|
Loading…
Add table
Reference in a new issue