Merge pull request #646 from ruilisi/610-textbreak-tb-makes-sheet-very-laggy-performance-issues-bug

Optimize inline textwrap processing
This commit is contained in:
Sanchit Agarwal 2024-12-07 21:51:46 +05:30 committed by GitHub
commit a97ea71ad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1649,6 +1649,8 @@ export function getCellTextInfo(
}
cumWordHeight += size.height;
// stop processing if rest of the cell isnt visible
if (cumWordHeight >= cellHeight) break;
}
}