mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 04:11:39 +02:00
🐛 Fix text exportation on svg.
This commit is contained in:
parent
6d2e2489bb
commit
43bd98151a
2 changed files with 4 additions and 3 deletions
|
@ -171,9 +171,9 @@
|
|||
|
||||
:render-object
|
||||
(do
|
||||
(let [file-id (uuid (get-in route [:params :path :file-id]))
|
||||
page-id (uuid (get-in route [:params :path :page-id]))
|
||||
object-id (uuid (get-in route [:params :path :object-id]))]
|
||||
(let [file-id (uuid (get-in route [:path-params :file-id]))
|
||||
page-id (uuid (get-in route [:path-params :page-id]))
|
||||
object-id (uuid (get-in route [:path-params :object-id]))]
|
||||
[:& render/render-object {:file-id file-id
|
||||
:page-id page-id
|
||||
:object-id object-id}]))
|
||||
|
|
|
@ -94,6 +94,7 @@
|
|||
{:keys [id x y width height content]} shape]
|
||||
[:foreignObject {:x x
|
||||
:y y
|
||||
:id (:id shape)
|
||||
:data-colors (retrieve-colors shape)
|
||||
:transform (geom/transform-matrix shape)
|
||||
:width (if (#{:auto-width} grow-type) 10000 width)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue