fix(specctra-core): Rotate components placed on back by 180 degrees

This commit is contained in:
Mikolaj Wielgus 2025-08-11 20:10:54 +02:00
parent ac7b24f939
commit b7a5d2ccb8
1 changed files with 1 additions and 1 deletions

View File

@ -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),
}
}
}