Fix mirror axis in Pattern.mirror()
This commit is contained in:
parent
70f3ea9304
commit
79ac6a59e4
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ class Pattern:
|
|||
:return: self
|
||||
"""
|
||||
for entry in self.shapes + self.subpatterns:
|
||||
entry.offset[axis] *= -1
|
||||
entry.offset[axis - 1] *= -1
|
||||
return self
|
||||
|
||||
def mirror_elements(self, axis: int) -> 'Pattern':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue