0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 00:58:26 -05:00

Remove data URIs from image embeds

This commit is contained in:
Aitor 2023-11-10 15:49:53 +01:00 committed by Andrey Antukh
parent 95d73494d6
commit 8fcd5f285d

View file

@ -116,7 +116,7 @@
:width (* width no-repeat-padding)
:height (* height no-repeat-padding)
:fill "none"}]
[:image {:href (or (:data-uri shape) (get embed uri uri))
[:image {:href uri
:preserveAspectRatio "none"
:x 0
:y 0