Make walkEvery the zero mode, and have drawPath's panic name the head its tail descends from

This commit is contained in:
2026-09-25 08:08:43 +02:00
committed by Lillem4n
parent eecfb7ab54
commit c63b1c74dd
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func descend(s *session, root node, segments []string, sc renderScope) (node, er
if _, err := walkPath(root, segments, pathWalk{mode: walkProbe, pins: &probe}); err != nil {
return nil, err
}
return drawPath(root, segments, &sc.hold().pins, &pathDraws{s: s}), nil
return drawPath(root, segments, "", &sc.hold().pins, &pathDraws{s: s}), nil
}
// render evaluates a compiled node to a string. compile validates every node up