table: Fix incorrect column offset when have fixed columns. (#490)

This commit is contained in:
Jason Lee 2024-12-12 17:40:25 +08:00 committed by GitHub
parent 8558da4a7b
commit 28c072d9c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1039,6 +1039,7 @@ where
move |table, visible_range: Range<usize>, cx| {
visible_range
.map(|col_ix| {
let col_ix = col_ix + left_cols_count;
table.render_col_wrap(col_ix, cx).child(
table.render_cell(col_ix, cx).child(
table.delegate.render_td(row_ix, col_ix, cx),