fixup mirroring for subpatterns

This commit is contained in:
Jan Petykiewicz 2019-12-05 23:18:18 -08:00
commit f3669f2dfd
3 changed files with 8 additions and 2 deletions

View file

@ -181,6 +181,7 @@ class SubPattern:
:return: self
"""
self.mirrored[axis] = not self.mirrored[axis]
self.rotation *= -1
return self
def get_bounds(self) -> numpy.ndarray or None: