(bodyOrCorner: MatrixBodyCorner<MatrixBodyOrCornerKind>, dims: MatrixDimPair)
| 421 | } |
| 422 | |
| 423 | function layOutBodyCornerCellMerge(bodyOrCorner: MatrixBodyCorner<MatrixBodyOrCornerKind>, dims: MatrixDimPair) { |
| 424 | bodyOrCorner.travelExistingCells(cell => { |
| 425 | const computedSpan = cell.span; |
| 426 | if (computedSpan) { |
| 427 | const layoutRect = cell.spanRect; |
| 428 | const id = cell.id; |
| 429 | layOutRectOneDimBasedOnUnit(layoutRect, 0, id, computedSpan, dims); |
| 430 | layOutRectOneDimBasedOnUnit(layoutRect, 1, id, computedSpan, dims); |
| 431 | } |
| 432 | }); |
| 433 | } |
| 434 | |
| 435 | // Save to rect for rendering. |
| 436 | function layOutRectOneDimBasedOnUnit( |
no test coverage detected
searching dependent graphs…