optimize inline textwrap processing

This commit is contained in:
sanchit3008 2024-12-07 21:45:22 +05:30
parent 408229dae9
commit b63bebf9c6

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;
}
}