Cover the ancestor clash and name what drawCheck compares by

This commit is contained in:
2026-09-26 14:01:28 +02:00
committed by Lillem4n
parent f0b92260ed
commit e3017801d1
3 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -226,7 +226,8 @@ func newDrawWalk() *drawWalk {
// walk follows what rendering n renders. A repeat renders over draws of its own, so the walk stops
// there. A cell whose row the pins keep out has no case: a pinned table renders its pinned row
// alone, so that cell never renders on this route.
// alone and an unpinned one draws a row inside its nearest pinned ancestor's, so that cell never
// renders on this route.
func (w *drawWalk) walk(n node, at drawAt) {
v := nodeVisit{n, at.group, at.rowsKey()}
if w.seen[v] {