Give tableSite an isFormat beside isCell

This commit is contained in:
2026-09-30 21:37:10 +02:00
committed by Lillem4n
parent e9b8216116
commit 492772b995
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ func recordOf(n node) (*template, []Column, error) {
// over sc's draws; a table's columns read the row pinned there.
func renderRecord(s *generatorState, t *template, columns []Column, sc renderScope) *Record {
sc = sc.in(t)
if t.site.row == formatRow {
if t.site.isFormat() {
sc = sc.at(t.site.table.rowNode, &sc.groupDraws().pins)
}
r := &Record{columns: append([]Column(nil), columns...)}