mirror of
https://github.com/penpot/penpot.git
synced 2025-02-15 11:38:24 -05:00
🐛 Fix svg import
This commit is contained in:
parent
8b377ac556
commit
9c66998530
1 changed files with 6 additions and 6 deletions
|
@ -516,12 +516,12 @@
|
||||||
|
|
||||||
;; In penpot groups have the size of their children. To respect the imported svg size and empty space let's create a transparent shape as background to respect the imported size
|
;; In penpot groups have the size of their children. To respect the imported svg size and empty space let's create a transparent shape as background to respect the imported size
|
||||||
base-background-shape {:tag :rect
|
base-background-shape {:tag :rect
|
||||||
:attrs {:x "0"
|
:attrs {:x (str vb-x)
|
||||||
:y "0"
|
:y (str vb-y)
|
||||||
:width (str (:width root-shape))
|
:width (str vb-width)
|
||||||
:height (str (:height root-shape))
|
:height (str vb-height)
|
||||||
:fill "none"
|
:fill "none"
|
||||||
:id "base-background"}
|
:id "base-background"}
|
||||||
:hidden true
|
:hidden true
|
||||||
:content []}
|
:content []}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue