PgBiel / typst-tablex

More powerful and customizable tables in Typst
Apache License 2.0
373 stars 13 forks source link

`align:` function arguments are the other way around #9

Closed rmolinari closed 1 year ago

rmolinari commented 1 year ago

The roadmap mentions that the align: argument can take a function:

Accept a function ((row, column) => alignment/2d alignment)

My experimentation shows that the arguments are actually (column, row), not (row, column).

PgBiel commented 1 year ago

Fixed in https://github.com/PgBiel/typst-tablex/commit/32823fea0189461a1662e8a169cce1310afac604, thanks for letting me know!