Skip to content

Commit 3cd4be3

Browse files
committed
fix: renderer creates broken css links for subpages
1 parent 439d8bb commit 3cd4be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Core.Collections.NodeGraph/Extensions/VisitorExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static void Visit<T>(this IEnumerable<T> nodes, IVisitor<T> visitor) wher
3131
return;
3232

3333
foreach (var node in nodes)
34-
if (!ExecuteVisitorBreadthFirst(node.Children, visitor, node.CountDepth()))
34+
if (!ExecuteVisitorBreadthFirst(node.Children, visitor, node.CountDepth() + 1))
3535
return;
3636
}
3737
else if (algorithm is TraversalAlgorithm.DepthFirst)

0 commit comments

Comments
 (0)