fix: aspect ratio of distorted images are not preserved in SVG exports (#8061)

pull/8501/head
zsviczian 5 months ago committed by GitHub
parent 60e3801691
commit caf2db934c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -421,6 +421,7 @@ const renderElementToSvg = (
image.setAttribute("width", "100%");
image.setAttribute("height", "100%");
image.setAttribute("href", fileData.dataURL);
image.setAttribute("preserveAspectRatio", "none");
symbol.appendChild(image);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save