[Port] mirror() should not mirror port position, only orientation
This commit is contained in:
parent
84629ea614
commit
c366add952
2 changed files with 6 additions and 6 deletions
|
|
@ -100,7 +100,6 @@ class Port(PositionableImpl, Rotatable, PivotableImpl, Copyable, Mirrorable):
|
|||
return self
|
||||
|
||||
def mirror(self, axis: int = 0) -> Self:
|
||||
self.offset[1 - axis] *= -1
|
||||
if self.rotation is not None:
|
||||
self.rotation *= -1
|
||||
self.rotation += axis * pi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue