attempt at catching the point before freeze

This commit is contained in:
zsviczian 2023-04-03 20:52:21 +02:00
parent 2b6819eb2d
commit 9f02922c91

View File

@ -407,8 +407,10 @@ export const _renderScene = ({
let editingLinearElement: NonDeleted<ExcalidrawLinearElement> | undefined =
undefined;
let i = 0;
visibleElements.forEach((element) => {
try {
console.log(`element ${i++}: ${element} of ${visibleElements.length}`);
renderElement(element, rc, context, renderConfig, appState);
// Getting the element using LinearElementEditor during collab mismatches version - being one head of visible elements due to
// ShapeCache returns empty hence making sure that we get the