mirror of https://codeberg.org/topola/topola.git
fix(autorouter/compass_direction): Correct flipped North/South
This commit is contained in:
parent
c630abcdc1
commit
7e1a5857b1
|
|
@ -33,9 +33,9 @@ impl CardinalDirection {
|
|||
}
|
||||
} else {
|
||||
if vector.y() > 0.0 {
|
||||
Self::North
|
||||
} else {
|
||||
Self::South
|
||||
} else {
|
||||
Self::North
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue