@plait/draw 0.87.0-next.0 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3428,7 +3428,7 @@ const setTableText = (board, path, cellId, text, textHeight) => {
3428
3428
  else {
3429
3429
  const rowIdx = table.rows.findIndex((row) => row.id === cell.rowId);
3430
3430
  const tableRow = table.rows[rowIdx];
3431
- const compareHeight = tableRow.height ?? Math.max(cellHeight, textHeight || 0);
3431
+ const compareHeight = tableRow.height ?? Math.max(cellHeight, 0);
3432
3432
  if (textHeight > compareHeight) {
3433
3433
  const newRowHeight = textHeight + defaultSpace * 2;
3434
3434
  const offset = newRowHeight - compareHeight;