mirror of https://codeberg.org/topola/topola.git
fix(specctra-core): Rotate components placed on back by 180 degrees
This commit is contained in:
parent
ac7b24f939
commit
b7a5d2ccb8
|
|
@ -239,7 +239,7 @@ impl Place {
|
|||
pub fn point_with_rotation(&self) -> PointWithRotation {
|
||||
PointWithRotation {
|
||||
pos: (self.x, self.y).into(),
|
||||
rot: self.rotation,
|
||||
rot: self.rotation + (self.side == "back").then_some(180.0).unwrap_or(0.0),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue