mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 10:37:22 +02:00
fix: stop font loadingdone
loop when rendering element SVGs (#5883)
* fix: stop font `loadingdone` loop when rendering element SVGs * update snaps * stop updating scene elements array if no change was made * always re-render if invalidating element shape
This commit is contained in:
@@ -44,6 +44,7 @@ export const LibraryUnit = ({
|
||||
},
|
||||
null,
|
||||
);
|
||||
svg.querySelector(".style-fonts")?.remove();
|
||||
node.innerHTML = svg.outerHTML;
|
||||
})();
|
||||
|
||||
|
Reference in New Issue
Block a user