Skip to content

Commit

Permalink
Fix for self-directed nodes not being positioned correctly (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
geom3trik authored Jul 6, 2023
1 parent 8bae565 commit b7afddf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,6 @@ where
for (index, child) in children
.iter_mut()
.filter(|child| child.node.position_type(store).unwrap_or_default() == PositionType::SelfDirected)
.filter(|child| !child.node.cross(store, layout_type).is_auto())
.enumerate()
{
let mut child_cross_before = child.node.cross_before(store, layout_type);
Expand Down

0 comments on commit b7afddf

Please sign in to comment.