🐛 Fix background property changing it for background-color

This commit is contained in:
Eva 2023-05-22 09:27:18 +02:00 committed by Alonso Torres
parent 1a836bd0fc
commit fbfff07dec
2 changed files with 2 additions and 1 deletions

View file

@ -95,7 +95,7 @@
:height #(get-size :height %)}
:multi {:r1 [:r1 :r2 :r3 :r4]}}
:fill {:props [:fills]
:to-prop {:fills (if (> (count (:fills shape)) 1) "background-image" "background")}
:to-prop {:fills (if (> (count (:fills shape)) 1) "background-image" "background-color")}
:format {:fills format-fill-color}}
:stroke {:props [:strokes]
:to-prop {:strokes "border"}