🐛 Fix auto-width for texts can make text appear stretched

This commit is contained in:
Alejandro Alonso 2022-10-20 06:49:02 +02:00 committed by Alonso Torres
parent 4c133ec880
commit 490d295f3a
2 changed files with 3 additions and 1 deletions

View file

@ -106,7 +106,8 @@
:textDecoration (:text-decoration data)
:letterSpacing (:letter-spacing data)
:fontStyle (:font-style data)
:direction (:direction data)}
:direction (:direction data)
:whiteSpace "pre"}
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))})
shape (assoc shape :fills (:fills data))]