mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 10:46:38 +02:00
🐛 Fix fills priority over imported svg attributes
This commit is contained in:
parent
40e1d5a2a1
commit
2261bde6f1
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@
|
||||||
(-> props
|
(-> props
|
||||||
(obj/set! "style" style)))
|
(obj/set! "style" style)))
|
||||||
|
|
||||||
(some? svg-attrs)
|
(and (some? svg-attrs) (empty? (:fills shape)))
|
||||||
(let [style
|
(let [style
|
||||||
(-> (obj/get props "style")
|
(-> (obj/get props "style")
|
||||||
(obj/clone))
|
(obj/clone))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue