mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 11:56:11 +02:00
🐛 Fix background property changing it for background-color
This commit is contained in:
parent
1a836bd0fc
commit
fbfff07dec
2 changed files with 2 additions and 1 deletions
|
@ -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"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue