mirror of https://codeberg.org/topola/topola.git
fix(router/ng/eval): Flip alignment of outer edges
This makes it possible to route some paths, altho it looks really wrong on first glace. I don't yet know exactly what's going on.
This commit is contained in:
parent
38ef4d4a59
commit
e3790eb366
|
|
@ -191,8 +191,8 @@ impl AstarContext {
|
||||||
}
|
}
|
||||||
alignment
|
alignment
|
||||||
}
|
}
|
||||||
(Some(_), None) => Alignment::Left,
|
(Some(_), None) => Alignment::Right,
|
||||||
(None, Some(_)) => Alignment::Right,
|
(None, Some(_)) => Alignment::Left,
|
||||||
// this should only happen when one end-point is primal, handled above
|
// this should only happen when one end-point is primal, handled above
|
||||||
(None, None) => unreachable!(),
|
(None, None) => unreachable!(),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue