fix: do not modify elements while erasing (#7531)

This commit is contained in:
David Luzar
2024-01-11 16:00:07 +01:00
committed by GitHub
parent 3ecf72a507
commit 872973f145
5 changed files with 101 additions and 113 deletions
+1
View File
@@ -266,6 +266,7 @@ export const exportToCanvas = async (
imageCache,
renderGrid: false,
isExporting: true,
elementsPendingErasure: new Set(),
},
});