🐛 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 (-> 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))