mirror of
https://github.com/penpot/penpot.git
synced 2026-05-08 17:48:39 +00:00
✨ Make shape transparent when no fill-color is assigned.
This commit is contained in:
parent
fee5b001e8
commit
62e2c1cc14
@ -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…
x
Reference in New Issue
Block a user