mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix black background while drawing a path
This commit is contained in:
parent
202e7eb3f2
commit
9856da4a1f
2 changed files with 9 additions and 3 deletions
|
@ -382,6 +382,14 @@
|
|||
(some? style)
|
||||
(obj/set! "style" style)))
|
||||
|
||||
(and (= :path (:type shape)) (empty? (:fills shape)))
|
||||
(let [style
|
||||
(-> (obj/get props "style")
|
||||
(obj/clone)
|
||||
(obj/set! "fill" "none"))]
|
||||
(-> props
|
||||
(obj/set! "style" style)))
|
||||
|
||||
:else
|
||||
props)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue