0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-01 09:31:26 -05:00

🐛 Fix fills priority over imported svg attributes

This commit is contained in:
Alejandro Alonso 2022-05-24 13:55:22 +02:00 committed by Andrés Moya
parent 40e1d5a2a1
commit 2261bde6f1

View file

@ -360,7 +360,7 @@
(-> props
(obj/set! "style" style)))
(some? svg-attrs)
(and (some? svg-attrs) (empty? (:fills shape)))
(let [style
(-> (obj/get props "style")
(obj/clone))