fixed missing comment padding

This commit is contained in:
Louis Heredero 2024-06-19 22:51:02 +02:00
parent 0fbe1e0683
commit 29787ad8f1
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7

View File

@ -83,7 +83,7 @@
let m = measure(cell.cell) let m = measure(cell.cell)
widths.at(cell.i2 - 1) = calc.max( widths.at(cell.i2 - 1) = calc.max(
widths.at(cell.i2 - 1), widths.at(cell.i2 - 1),
m.width / 1pt - widths.slice(cell.i1, cell.i2 - 1).sum() m.width / 1pt + COMMENT-PAD - widths.slice(cell.i1, cell.i2 - 1).sum()
) )
} }