Fix mirror axis in Pattern.mirror()

This commit is contained in:
jan 2018-04-15 15:25:38 -07:00
parent 70f3ea9304
commit 79ac6a59e4

View File

@ -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':