This commit is contained in:
zsviczian 2023-04-03 20:59:37 +02:00
parent 9f02922c91
commit e15f313fe7

View File

@ -410,8 +410,9 @@ export const _renderScene = ({
let i = 0; let i = 0;
visibleElements.forEach((element) => { visibleElements.forEach((element) => {
try { try {
console.log(`element ${i++}: ${element} of ${visibleElements.length}`); console.log(`element ${++i}: ${element} of ${visibleElements.length}`);
renderElement(element, rc, context, renderConfig, appState); renderElement(element, rc, context, renderConfig, appState);
console.log(`rendered`);
// Getting the element using LinearElementEditor during collab mismatches version - being one head of visible elements due to // 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 // ShapeCache returns empty hence making sure that we get the
// correct element from visible elements // correct element from visible elements
@ -428,7 +429,7 @@ export const _renderScene = ({
console.error(error); console.error(error);
} }
}); });
console.log(`rendered all elements`);
if (editingLinearElement) { if (editingLinearElement) {
renderLinearPointHandles( renderLinearPointHandles(
context, context,