mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 12:55:36 -04:00
fix: aspect ratio of distorted images are not preserved in SVG exports (#8061)
This commit is contained in:
parent
60e3801691
commit
caf2db934c
@ -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…
x
Reference in New Issue
Block a user