[circle] fix mirror ignoring axis
This commit is contained in:
parent
c071b33732
commit
325a8b9590
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class Circle(Shape):
|
|||
return self
|
||||
|
||||
def mirror(self, axis: int = 0) -> 'Circle': # noqa: ARG002 (axis unused)
|
||||
self.offset *= -1
|
||||
self.offset[axis - 1] *= -1
|
||||
return self
|
||||
|
||||
def scale_by(self, c: float) -> 'Circle':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue