Hold every whole draw's row a walk is in, so a nested whole draw keeps the outer one's

This commit is contained in:
2026-09-25 08:31:25 +02:00
committed by Lillem4n
parent b0889faa14
commit 3500f8e1c3
4 changed files with 21 additions and 25 deletions
+11
View File
@@ -153,6 +153,17 @@ func (p pinSet) entered(t *table, r int) pinSet {
return p
}
// differs reports whether p and q hold different rows of one table.
func (p *pinSet) differs(q *pinSet) bool {
found := false
p.each(func(t *table, r int) {
if qr, in := q.pinned(t); in && qr != r {
found = true
}
})
return found
}
// key spells the set for a map, by the tables' identities in path order.
func (p *pinSet) key() string {
var pins []tablePin